WorldZone
Namespace: FivePD.API.Utils#
File: Source/Utils/WorldZone.cs#
Methods#
GetZoneAtPosition#
Returns the WorldZone of the given position.
Params:
- position
- Type: Vector3
- Source position
Example#
WorldZone wz = WorldZone.GetZoneAtPosition(Game.PlayerPed.Position);string county = wz.County;string realAreaName = wz.RealAreaName;