Export

TrackPhone

Tracks a player through their phone number. The player must be online and have a phone.

  • phonenumber: string

  • time: number (seconds) (optional)

  • return: boolean

local track = TrackPhone("0123456789", 30)
print(track)

-- Returns true if the function was able to track.

TrackPhoneContinuously

Tracks a player through their phone number. The player must be online and have a phone. Continuously tracking based on the delay.

  • phonenumber: string

  • time: number (seconds) (optional)

  • delay: number (seconds) (optional)

  • return: boolean

local track = TrackPhoneContinuously("0123456789", 30, 1)
print(track)

-- Returns true if the function was able to track.

CancelTracking

Instantly cancels any ongoing tracking.

GetClosestMastToPed

Returns the closest mast to the player ped.

  • return: key,distance

GetClosestMastToCoords

Returns the closest mast to coordinates.

  • coords: vec3

  • return: key,distance

GetPlayersInPlayerMastCoverage

Returns the citizen IDs of all players within the same mast coverage as the player ped.

  • return: table

Last updated