forked from overextended/ox_fuel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
90 lines (68 loc) · 2.09 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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 = false,
-- Enable support for ox_target
ox_target = true,
/*
* 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`,
},
-- [[ StationControl ]] --
Control = {
-- Useful console prints for admins, Like if a player think something is a bug what is a feature then its printed to console for admins!
DEBUGPRINT_FOR_ADMINS = true, -- RECOMMENDED
-- Boss menu marker size
Marker = {
size = vec3(3.0, 3.0, 1.0),
-- Marker Colors (VV)
Owned = vec4(0, 50, 255, 80),
Buyable = vec4(0, 100, 0, 100)
},
-- Teleport player into the refill truck
WarpPlayerIntoTruck = true,
-- When refilling the station
ReFill = {
min = 5, -- Minimum value to give from the trailer
max = 25, -- Maximum value to give from the trailer
},
-- Fuel removed from station (Added once every tick)
fuelTick = .5,
-- (Price * Tax) == Income
Tax = .75,
Webhook =
"https://discord.com/api/webhooks/1329239536299016313/nZNOCe2ebohWmePrupSX2hPFWLIptydgnVon7J8AC13sUlu6f6Ql6lmGuSQxLgseHnTy"
}
}