Client Exports

Here you will find all the useful exports for this asset, please read each step and example carefully to better understand how it works, we do not recommend using these if you are not an experienced developer.


RepairSpecificVehicle

Repair a vehicle specifying its plate.

-- plate: Select the plate of the vehicle you want to repair
exports['qs-advancedgarages']:RepairSpecificVehicle(plate)

RepairNearestVehicle

This export will make a repair to the nearest vehicle.

-- Repair the nearest vehicle
exports['qs-advancedgarages']:RepairNearestVehicle()

ImpoundVehicle

We can run the following export to impound a nearby vehicle from the client side.

-- Impounds the nearest vehicle from client-side
exports['qs-advancedgarages']:ImpoundVehicle()

Last updated