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.


SetFuel

Export to set fuel

-- Set vehicle fuel amount
exports['qs-fuelstations']:SetFuel(vehicle, fuelLevel)

GetFuel

Export to obtain fuel

-- Get vehicle fuel amount
exports['qs-fuelstations']:GetFuel(vehicle)

Last updated

Was this helpful?