Fuel and fuelstations system for Fivem ⛽
Name | Namespace | Arguments | Return |
---|---|---|---|
GetFuel | Client | vehicle | number |
SetFuel | Client | vehicle, number | void |
* The exports can be use with the resource name (qb-fuel) or with LegacyFuel
This resource is fully compatible with QBCore servers and it sustitutes the LegacyFuel, thanks to InZidiuZ for that amazing script that inspired us to make a new Fuel System script.
-- Will return the same
exports['qb-fuel']:GetFuel(vehicle)
exports['LegacyFuel']:GetFuel(vehicle)
This will make it easier to change from LegacyFuel to qb-fuel.