vehicleOwner

Gets the owner of a vehicle by license plate.

Parameters:

  • licensePlate (string): Vehicle license plate

Returns:

  • string|boolean: Citizen ID of owner or false if not found

Example:

local owner = ps.vehicleOwner('ABC123')
if owner then
    print("Vehicle owner:", owner)
end

Last updated