-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.lua
111 lines (98 loc) · 3.75 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Config = {
-- Debug mode
debug = false,
-- Locale (en / zh / es)
locale = 'en',
-- Which framework you are using, can be 'standalone', 'esx', 'esx1.9' or 'qbcore'
framework = 'standalone',
-- Compatible with zerodream_vehplate script (0: only GTA plate, 1: only Chinese plate, 2: all)
plateType = 0,
-- Require stop the engine before parking car?
stopEngine = true,
-- Allow park not owned vehicles?
notOwnedCar = true,
-- Locked car for everyone (included owner)?
lockedCar = true,
-- Parking card item name
parkingCard = 'parkingcard',
-- Command settings, use false to disable (Only can disable engine control / find vehicle)
commands = {
-- Control engine command
engineControl = 'enginecontrol',
-- Park vehicle command
parkingVehicle = 'parkingvehicle',
-- Find the vehicle command
findVehicle = 'findveh',
},
-- Default key binding, use false to disable, player can change key binding in pause menu > settings > key binding > FiveM
keyBinding = {
-- Turn on/off engine
engineControl = 'G',
-- Park vehicle
parkingVehicle = 'L',
},
-- Impound settings
impound = {
command = 'impound',
whitelist = {
'identifier.steam:110000131d62281',
'ip.127.0.0.1',
'job.admin',
},
},
-- Parking setting
parking = {
-- Parking id, should be unique, DO NOT USE 'global' AS PARKING ID
['parking_1'] = {
-- Parking name
name = 'Parking 1',
-- Parking position
pos = vec3(-320.1, -921.38, 30.0),
-- The parking size
size = 50.0,
-- Max cars can be parked in this parking
maxCars = 10,
-- Allow vehicle class, can be find here: https://docs.fivem.net/natives/?_0x29439776AAA00A62 (use -1 means all, use , to separate multiple types)
allowTypes = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, -- if you want to allow all class, change to { -1 },
-- Parking fee per day in real life time
parkingFee = 1000,
-- Display notification?
notify = true,
-- White list, can be identifier, ip and job name, player will not need to pay parking fee if they are in the whitelist
whitelist = {
'identifier.steam:110000131d62281',
'ip.127.0.0.1',
'job.admin',
},
-- Black list of vehicle model
blacklist = {
'adder',
'banshee',
},
},
},
-- Global parking
globalParking = {
-- if true, player can park their vehicle in any where
enable = true,
-- Max cars can be parked on the map
maxCars = 100,
-- Allow vehicle class, can be find here: https://docs.fivem.net/natives/?_0x29439776AAA00A62 (use -1 means all, use , to separate multiple types)
allowTypes = { -1 }, -- if you want to allow all class, change to { -1 },
-- Render distance
distance = 50.0,
-- Parking fee per day in real life time
parkingFee = 1000,
-- white list, can be identifier, ip and job name, player will not need to pay parking fee if they are in the whitelist
whitelist = {
'identifier.steam:110000131d62281',
'ip.127.0.0.1',
'job.admin',
},
-- Black list of vehicle model
blacklist = {
'adder',
'banshee',
},
}
}