mp.zones
Areas on the map with enter/leave events: depots, race checkpoints, speed zones, no-go areas.
create
mp.zones.create(init: ZoneInit): ZoneCreates an area. Players driving in or out get playerEnterZone / playerLeaveZone.
get
mp.zones.get(id: number): Zone | undefinedThe zone with this id, or undefined.
Types: Zone
all
mp.zones.all(): readonly Zone[]Every zone of this gamemode.
Types: Zone
at
mp.zones.at(position: Vector3): readonly Zone[]The zones a position is in.