Get if player ID owns a plate
This export can be used to know if the local player owns a vehicle plate
Export
Parameters
Name
Data Type
Description
playerId
integer
The player server ID
plate
string
The vehicle plate to check
onlyOwnedVehicles
boolean
true = only searches for owned vehicles false = allows to search temporary vehicles, shared keys, etc.
Return
true
if the vehicle is owned
false
if the vehicle is not owned
Example
Last updated