forked from JGCdev/xex_gangwars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
172 lines (163 loc) · 4.6 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
-- GANG WARS GUIDE
-- STATUS:
-- Unconquered - Grey - 1
-- Conquerable - Color with flash - 2
-- Conquered - Color - 3
Config = {}
function L(cd, ...) if Locales[Config.Language][cd] then return string.format(Locales[Config.Language][cd], ...) else print('Locale is nil ('..cd..')') end end
Config.Language = 'es'
Config.Framework = 'esx' -- 'qb' or 'esx'
Config.CheckForUpdates = true -- false to disable
Config.defaultZoneColor = 0xCCCCCC80 -- grey
Config.defaultStatus = 1 -- Unconquered on each reset
Config.msToGetPoints = 20000 -- 20s default
Config.timeBetweenPoints = 60 -- 1min default Time between point captures
Config.timeBetweenConquers = 12000 -- 20min default - Time between conquers
Config.pointsToCapture = 3
Config.useRpProgress = false -- Download: https://github.com/Mobius1/rprogress
Config.blipsEnabled = true
Config.maxZonesAtSameTime = 4
Config.gangJobs = {
--ESX
['gang'] = { color = 0xFF00FF80 },
['gang2'] = { color = 0x0080BF80 },
['gang3'] = { color = 0x9FDF809F },
['gang4'] = { color = 0xa0e31180 },
['gang5'] = { color = 0xBDAC1980 },
['gang6'] = { color = 0xB4700E80 },
['gang7'] = { color = 0x600EB480 },
['gang8'] = { color = 0x538B7380 },
['gang9'] = { color = 0x16009d80 },
['gang10'] = { color = 0xff000080 },
['gang11'] = { color = 0x84ff0080 },
['gang12'] = { color = 0x44bb3080 },
-- QB
['lostmc'] = { color = 0xFF00FF80 },
['ballas'] = { color = 0x0080BF80 },
['vagos'] = { color = 0x9FDF809F },
['cartel'] = { color = 0xa0e31180 },
['families'] = { color = 0xFF00FF80 },
['triads'] = { color = 0x0080BF80 },
}
Config.initialZones = {
{
name = 'zoneA',
coords = {
x = 2197.58,
y = 5036.79,
z = 0.0,
width = 220.0,
height = 135.0,
rotation = 45
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 35000,
},
-- { -- City middle
-- name = 'zoneB',
-- coords = {
-- x = -1033.00,
-- y = -1070.0,
-- z = 0.0,
-- width = 195.0,
-- height = 199.0,
-- rotation = 30
-- },
-- color = Config.defaultZoneColor,
-- status = Config.defaultStatus,
-- points = {},
-- capturePrice = 7500,
-- },
{ -- South-east
name = 'zoneC',
coords = {
x = 980.09,
y = -2330.13,
z = 0.0,
width = 145.0,
height = 270.0,
rotation = -5
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 30000,
},
{ -- Paleto
name = 'zoneD',
coords = {
x = 156.09,
y = 6386.71,
z = 0.0,
width = 120.0,
height = 120.0,
rotation = 35
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 15000,
},
{ -- Middle map
name = 'zoneE',
coords = {
x = 1732.691,
y = 3700.9,
z = 0.0,
width = 90.0,
height = 90.0,
rotation = 30
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 15000,
},
-- { -- City north
-- name = 'zoneF',
-- coords = {
-- x = 108.58,
-- y = 193.51,
-- z = 105.0,
-- width = 48.0,
-- height = 168.0,
-- rotation = 70
-- },
-- color = Config.defaultZoneColor,
-- status = Config.defaultStatus,
-- points = {},
-- capturePrice = 35000,
-- },
{ -- Este nave
name = 'zoneG',
coords = {
x = 2753.915,
y = 1671.721,
z = 0.0,
width = 50.0,
height = 122.0,
rotation = 90
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 19000,
},
{ -- Ciudad en canales
name = 'zoneH',
coords = {
x = -1056.07,
y = -1566.87,
z = 0.0,
width = 55.0,
height = 65.0,
rotation = 35
},
color = Config.defaultZoneColor,
status = Config.defaultStatus,
points = {},
capturePrice = 19000,
},
}