vehicleOwner
Description
Checks the database to find the citizen ID of the owner of a vehicle with the given license plate.
Parameters
licensePlate(string): The license plate number of the vehicle.
Return Value
Returns the
citizenidof the vehicle owner if found.Returns
falseif no vehicle matches the plate.
Example Use Case
local ownerCitizenId = ps.vehicleOwner("ABC123")
if ownerCitizenId then
    print("Vehicle owned by: " .. ownerCitizenId)
else
    print("No owner found for this vehicle.")
endLast updated