Gas Stations·installation
Installation
Download
Download the gas stations script from portal.cfx.re. Make sure you're logged in with the FiveM account you used to purchase the script.
Extract
Unzip the archive and drop the resulting DS-GasStations folder anywhere inside your server's resources folder.
Dependencies
The script requires
oxmysql. ESX and QBCore are both supported and auto-detected at runtime — no framework switch to set.Start the resource
Add the script to your server.cfg:
server.cfg
ensure DS-GasStationsConfigure
Open config.lua and tune the script to your server — default fuel and electric prices, refuel speed, jerrycan limits, blip styling, and the truck routes used by the refill mission.
Optional target system
Set
Target in config.lua to 'ox_target', 'qb-target', or 'qtarget' to interact with pumps via your target script instead of the default text UI. Leave it as false to keep the standalone behaviour.Admin commands
Two commands are bundled for placing gas stations in-world:
creategasstation and removegasstation restricted by default to the admin group.