Configuration
Everything is in config.lua.
Petrol
| Option | Default | What it does |
|---|
Config.Fuel.burn | 60.0 | How fast cars use fuel: 60 empties a tank in about 8 minutes of hard driving, 15 in about 30 |
Config.Fuel.tank | 65.0 | Liters in a full tank (shown while filling) |
Config.Fuel.rate | 6.0 | Liters a second while filling |
Money
| Option | Default | What it does |
|---|
Config.Money.from | 'cash' | 'cash' or 'bank' |
Config.Money.price | 5 | Price per liter |
How players use the pumps
| Option | Default | What it does |
|---|
Config.Use.how | 'target' | 'target' (fusing-target, qb-target or ox_target) or 'gta' (a key prompt) |
Jerry can
Bought and refilled at any pump.
| Option | Default | What it does |
|---|
Config.Can.item | 'weapon_petrolcan' | The jerry can item |
Config.Can.litres | 40 | How much it holds |
Config.Can.cost | 100 | Price of a new one |
Map icons
| Option | Default | What it does |
|---|
Config.Blips.enabled | true | Show an icon at each station |
Config.Blips.sprite | 361 | Blip sprite |
Config.Blips.colour | 1 | Blip color |
Config.Blips.scale | 0.7 | Blip size |
Config.Blips.name | 'Petrol Station' | Name on the map |
Config.Blips.stations | 27 stations | One vector3 per station; add your own |
stations = {
vector3(49.42, 2778.79, 58.04),
vector3(263.89, 2606.46, 44.98),
},