Last updated 8 months ago
Returns if a player ID is the owner of a specific plate
exports["jobs_creator"]:isPlayerOwnerOfVehiclePlate(playerId, plate)
local playerId = 1 local plate = "40PQB261" local isTheVehicleOwner = exports["jobs_creator"]:isPlayerOwnerOfVehiclePlate(playerId, plate) print("Is the player owner of that plate: " .. tostring(isTheVehicleOwner))
playerId
integer
Player's server ID
plate
string
Vehicle's plate
isOwner
bool
If the player is the vehicle owner or not