Exports
Server exports for police, tow and other scripts.
| Export | Returns | What it does |
|---|---|---|
ImpoundVehicle(plate, price) | boolean | Impounds a vehicle and sets its release price (Impound.fee when price is left out) |
ReturnVehicle(plate) | Puts a vehicle back in the Recovery.disconnectGarage garage | |
IsVehicleStored(plate) | boolean | true when the vehicle is parked in a garage |
IsVehicleImpounded(plate) | boolean | true when the vehicle is in the impound |
GiveKeys(source, plate) | Gives a player keys with qb-vehiclekeys or qbx_vehiclekeys |
exports['fusing-parking']:ImpoundVehicle(plate, 1500)
if exports['fusing-parking']:IsVehicleImpounded(plate) then
print('in the impound')
end