-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.lua
265 lines (264 loc) · 7.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
Config = {}
--[[
For each Config.SellLocations[x]:
- active: If the sell location is active
- Set to false to disable selling at this location (blip and marker, if enabled, will not appear on map or to players at all)
- policeAlertChance: % chance police are alerted of selling
- notificationsEnabled: If notifications regarding selling are enabled
- itemNotificationsEnabled: If notifications regarding items being added/removed to/from inventory are enabled
- type: How location is approached by player to sell
- Options:
- 'walkup'
- Player can sell if they walk up to coords
- 'driveup'
- Player can sell if they drive up to coords
- 'any'
- Player can sell if they walk or drive up to coords
- 'target'
- Player can sell if they target at coords
- coords: Coordinated of the selling point
- blip:
- enabled: If blip is enabled
- label: Blip label
- color: Blip color
- sprite: Blip sprite
- scale: Blip scale
- display: Blip display
- shortRange: If blip is short range
- marker:
- enabled: If marker is enabled
- type: Marker type
- scaleX: Marker scale on X axis
- scaleY: Marker scale on Y axis
- scaleZ: Marker scale on Z axis
- red: Marker red component
- green: Marker green component
- blue: Marker blue component
- alpha: Marker alpha component:
- bob: If marker bobs up and down
- faceCamera: If marker constantly faces camera
- npc:
- enabled: If NPC is enabled
- ped: NPC ped model
- heading: NPC ped heading
- scenario: NPC ped scenario
- sellable_items:
- 'itemName': Name of item
- sell_quantity: Amount to sell in increments of
- rewards:
- 'rewardItemName' (name of money type or reward item) = rewardAmount (# amount of money type or reward item)
]]
Config.SellLocations = {
[1] = {
active = true,
policeAlertChance = 15,
notificationsEnabled = false,
itemNotificationsEnabled = false,
type = 'walkup',
coords = vector3(292.65, -1072.83, 28.41),
blip = {
enabled = false,
label = 'Weed Selling',
color = 0,
sprite = 41,
scale = 0.6,
display = 4,
shortRange = true
},
marker = {
enabled = false,
type = 2,
scaleX = 0.2,
scaleY = 0.2,
scaleZ = 0.1,
red = 109,
green = 255,
blue = 0,
alpha = 0.64,
bob = false,
faceCamera = false
},
npc = {
enabled = false,
ped = 's_m_y_xmech_02_mp',
heading = 240.00,
scenario = 'WORLD_HUMAN_AA_SMOKE',
},
sellable_items = {
['weed_white-widow'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
},
['weed_skunk'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
},
['weed_purple-haze'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
},
['weed_og-kush'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
},
['weed_amnesia'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
},
['weed_brick'] = {
sell_quantity = 10,
rewards = {
['cash'] = math.random(2000, 3000)
}
}
}
},
[2] = {
active = true,
policeAlertChance = 15,
notificationsEnabled = false,
itemNotificationsEnabled = false,
type = 'walkup',
coords = vector3(292.65, -1072.83, 28.41),
blip = {
enabled = false,
label = 'Meth Selling',
color = 0,
sprite = 41,
scale = 0.6,
display = 4,
shortRange = true
},
marker = {
enabled = false,
type = 2,
scaleX = 0.2,
scaleY = 0.2,
scaleZ = 0.1,
red = 109,
green = 255,
blue = 0,
alpha = 0.64,
bob = false,
faceCamera = false
},
npc = {
enabled = false,
ped = 's_m_y_xmech_02_mp',
heading = 240.00,
scenario = 'WORLD_HUMAN_AA_SMOKE',
},
sellable_items = {
['meth'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(75, 120)
}
}
}
},
[3] = {
active = true,
policeAlertChance = 15,
notificationsEnabled = false,
itemNotificationsEnabled = false,
type = 'walkup',
coords = vector3(292.65, -1072.83, 28.41),
blip = {
enabled = false,
label = 'Crack Selling',
color = 0,
sprite = 41,
scale = 0.6,
display = 4,
shortRange = true
},
marker = {
enabled = false,
type = 2,
scaleX = 0.2,
scaleY = 0.2,
scaleZ = 0.1,
red = 109,
green = 255,
blue = 0,
alpha = 0.64,
bob = false,
faceCamera = false
},
npc = {
enabled = false,
ped = 's_m_y_xmech_02_mp',
heading = 240.00,
scenario = 'WORLD_HUMAN_AA_SMOKE',
},
sellable_items = {
['crack_baggy'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(90, 170)
}
}
}
},
[4] = {
active = true,
policeAlertChance = 15,
notificationsEnabled = false,
itemNotificationsEnabled = false,
type = 'walkup',
coords = vector3(292.65, -1072.83, 28.41),
blip = {
enabled = false,
label = 'Coke Selling',
color = 0,
sprite = 41,
scale = 0.6,
display = 4,
shortRange = true
},
marker = {
enabled = false,
type = 2,
scaleX = 0.2,
scaleY = 0.2,
scaleZ = 0.1,
red = 109,
green = 255,
blue = 0,
alpha = 0.64,
bob = false,
faceCamera = false
},
npc = {
enabled = false,
ped = 's_m_y_xmech_02_mp',
heading = 240.00,
scenario = 'WORLD_HUMAN_AA_SMOKE',
},
sellable_items = {
['cokebaggy'] = {
sell_quantity = 5,
rewards = {
['cash'] = math.random(90, 185)
}
},
['coke_brick'] = {
sell_quantity = 10,
rewards = {
['cash'] = math.random(8500, 10000)
}
}
}
}
}