Returns the map ID of the Lua state. Returns -1 for the "World" state.
mapId = GetStateMapId()
None.
number mapId
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.