GetLevelName
The level as a player reads it.
The game’s own name of the level GetLevel names: Trosky for trosecko, Kuttenberg for kutnohorsko,
Sedletz Monastery for klaster. For what a player sees - a welcome line, a HUD text; keep GetLevel for
comparisons and file names.
Syntax
Section titled “Syntax”GetLevelName()Returns
Section titled “Returns”string - the name
Example
Section titled “Example”function OnPlayerConnect(pid) SendClientMessage(pid, COLOUR_SERVER, "Welcome to " .. GetLevelName() .. ", " .. GetPlayerName(pid))endSee also
Section titled “See also”GetLevel · the Server and timers group of the index
