Server

Exports for checking rental status of vehicles, intended for integration with garage scripts to prevent transferring rented vehicles.

Exports

isVehicleRented

exports.peak_rentals:isVehicleRented(plate)
platerequiredstring
The license plate of the vehicle to check.

Returns boolean — Whether the vehicle with the given plate is currently rented.