TMapsList.GetMapIdByName

From Soldat Community Wiki
Revision as of 20:14, 13 June 2018 by Morko (talk | contribs) (Description)
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.