Exports (server)
ChangePlate
Returns the position of a single vehicle.
Parameters:
playerId - int
- The player id of the player that owns the vehicle.
vehicleNetId - int
- The vehicle network id.
newPlate - string
- The new license plate text of a vehicle.
Returns:
bool
- True on success.
GetFullHistory
Get the full history of all plate changes from a player.
Parameters:
playerId - int
- The player id of the player that owns the vehicle.
vehicleNetId - int
- The vehicle network id.
newPlate - string
- The new license plate text of a vehicle.
Returns:
dictionary<string, table<modelHash: int, oldPlate: string, date: string, ownerName: string>>
- List of all plate changes with the current plate as index.
GetHistory
Get the history of a specific player's plate.
Parameters:
playerId - int
- The player id of a player.
plate - string
- The license plate text of a vehicle.
Returns:
table<table<oldPlate: string, date: string, ownerName: string>>
- List of all plate changes from the specified plate.
GetPlateHistory
Get the history of a specified plate.
Parameters:
plate - string
- The license plate text of a vehicle.
Returns:
table<table<oldPlate: string, date: string, ownerName: string>>
- List of all plate changes from the specified plate.
Last updated