-
Notifications
You must be signed in to change notification settings - Fork 79
/
config.lua
54 lines (43 loc) · 1.2 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
if not lib.checkDependency('ox_lib', '3.22.0', true) then return end
if not lib.checkDependency('ox_inventory', '2.30.0', true) then return end
return {
-- Get notified when a new version releases
versionCheck = true,
-- Enable support for ox_target
ox_target = false,
/*
* Show or hide gas stations blips
* 0 - Hide all
* 1 - Show nearest (5000ms interval check)
* 2 - Show all
*/
showBlips = 2,
-- Total duration (ex. 10% missing fuel): 10 / 0.25 * 250 = 10 seconds
-- Fuel refill value (every 250msec add 0.25%)
refillValue = 0.50,
-- Fuel tick time (every 250 msec)
refillTick = 250,
-- Fuel cost (Added once every tick)
priceTick = 5,
-- Can durability loss per refillTick
durabilityTick = 1.3,
-- Enables fuel can
petrolCan = {
enabled = true,
duration = 5000,
price = 1000,
refillPrice = 800,
},
---Modifies the fuel consumption rate of all vehicles - see [`SET_FUEL_CONSUMPTION_RATE_MULTIPLIER`](https://docs.fivem.net/natives/?_0x845F3E5C).
globalFuelConsumptionRate = 10.0,
-- Gas pump models
pumpModels = {
`prop_gas_pump_old2`,
`prop_gas_pump_1a`,
`prop_vintage_pump`,
`prop_gas_pump_old3`,
`prop_gas_pump_1c`,
`prop_gas_pump_1b`,
`prop_gas_pump_1d`,
}
}