Skip to content

Exports (server)#

StartTracker#

Starts tracking the vehicle with the specified plate for a player.

Parameters:
playerId - int - The player id of the player to start the tracker for.
plate - string - The license plate text of a vehicle.

Returns:
bool - True on success.

local success = exports["VehicleTracker"]:StartTracker(playerId, plate)

StopTracker#

Stops tracking the vehicle with the specified plate for a player.

Parameters:
playerId - int - The player id of the player to stop the tracker for.
plate - string - The license plate text of a vehicle.

Returns:
bool - True on success.

local success = exports["VehicleTracker"]:StopTracker(playerId, plate)