| Property | Value |
|---|---|
| Native Name | GET_ZONE_FROM_NAME_ID |
| Hash | 0x98CD1D2934B76CC1 |
| Return Type | int |
| Parameters | zoneName (char*) |
Description: Refer to https://docs.fivem.net/docs/game-references/zones/ for a list of all zones including their integer ID, string ID, short name and full name
Parameters
zoneName(char*) — The zone name like "Z_RMAN2", most-left column of popzone.ipl
Examples
local zoneId = GetZoneFromNameId("Z_GOLF3")
print(zoneId) -- 3