forked from esx-framework/esx_vehicleshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
66 lines (53 loc) · 1.62 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
Config = {}
Config.DrawDistance = 10
Config.MarkerColor = {r = 120, g = 120, b = 240}
Config.EnablePlayerManagement = false -- enables the actual car dealer job. You'll need esx_addonaccount, esx_billing and esx_society
Config.ResellPercentage = 50
Config.Locale = GetConvar('esx:locale', 'en')
Config.LicenseEnable = false -- require people to own drivers license when buying vehicles? Only applies if EnablePlayerManagement is disabled. Requires esx_license
-- looks like this: 'LLL NNN'
-- The maximum plate length is 8 chars (including spaces & symbols), don't go past it!
Config.PlateLetters = 3
Config.PlateNumbers = 3
Config.PlateUseSpace = true
Config.OxInventory = ESX.GetConfig().OxInventory
Config.Blip = {
show = true,
Sprite = 326,
Display = 4,
Scale = 0.8
}
Config.Zones = {
ShopEntering = {
Pos = vector3(-33.7, -1102.0, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = 1
},
ShopInside = {
Pos = vector3(-47.5, -1097.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = -20.0,
Type = -1
},
ShopOutside = {
Pos = vector3(-28.6, -1085.6, 25.5),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = 330.0,
Type = -1
},
BossActions = {
Pos = vector3(-32.0, -1114.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
GiveBackVehicle = {
Pos = vector3(-18.2, -1078.5, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = (Config.EnablePlayerManagement and 1 or -1)
},
ResellVehicle = {
Pos = vector3(-44.6, -1080.7, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = 1
}
}