Difference between revisions of "TMapsList.GetMapIdByName"
(→Description) |
(→Description) |
||
Line 4: | Line 4: | ||
Returns the index of ''Name'' in [[TMapsList.Map]] array | Returns the index of ''Name'' in [[TMapsList.Map]] array | ||
− | {{note| | + | {{note|When a map is not in the array, the returned ID equals '''-1'''.}} |
[[Category:TMapsList]] | [[Category:TMapsList]] |
Revision as of 19:14, 13 June 2018
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. |