TMapsList.GetMapIdByName

From Soldat Community Wiki
Jump to: navigation, search
function GetMapIdByName(Name: string): integer
 Name: name of the map to searched

Description

Returns the index of Name in TMapsList.Map array

Note: When a map is not in the array, the returned ID equals -1.
Note: The function is not case sensitive.