π οΈINSTALLATION
π Requirements QB-Core or ESX Framework ox_lib
1. Resource Installation
Download the latest release
Extract to your resources folder
Add
ensure janiel-fuelstationsto your server.cfgConfigure config.lua to your preferences
2.Attention! Correct Export Usage for Your Fuel System
To ensure seamless integration with your existing fuel system, you must use the following export:
exports["janiel-fuelstations"]Please use the export above instead of other fuel scripts. Using incorrect code may cause your system to malfunction.
SetFuel(vehicle --[[ Vehicle ]], value --[[ Number: (0-100) ]])
GetFuel(vehicle --[[ Vehicle ]]) -- Returns the vehicle's fuel level.Example usage:
If you encounter any issues, feel free to contact our support team.
Thank you!
Last updated