General exports

If you were a LegacyFuel user and have LegacyFuel exports, you can use it by default in your scripts and not edit anything. Quasar Fuel Stations will read your LegacyFuel exports natively.

Quasar Fuel Stations simply has two exports that will allow you to run the fuel system in other scripts. As mentioned above, if you have LegacyFuel exports, it will work automatically.

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

Last updated