KuzQuality
Search…
Diving
Diving adds a new job/mechanic for collecting items. Players can buy their diving gear and go diving to uncover long forgotten treasures that lay below the surface

Installation

  1. 1.
    Drag and drop the script into your resources folder
  2. 2.
    Run the SQL file which will be stored in the root of lubes_lockpicking
  3. 3.
    Add the script to your server.cfg file
This script is unobfuscated and does not require authorization meaning that there is no extra steps before you can use it. Simply drag and drop it into your resources folder and add it to your server.cfg
Script not being obfuscated doesn't mean that you can redistribute the script

Config file

You may freely edit this file without worries of breaking anything. If you have experience with scripting you could also edit the client and server files for extra customization
1
Config = {}
2
Config.Locale = 'en'
3
4
Config.Debug = true
5
6
-- If all diving activities should be available for players with the `diving` job
7
Config.diverJobOnly = true
8
9
-- If players should receive divin/scuba gear when applying the items
10
Config.divingClothing = true
11
12
-- If diving stores should be available for players
13
Config.useDivingStores = true
14
15
-- If sell locations should ba available for players
16
Config.useSellLocations = true
17
18
Config.divingStores = {
19
locations = {
20
{
21
x = -1093.9,
22
y = -1349.3,
23
z = 5.0,
24
},
25
},
26
items = {
27
{
28
item = 'kuz_divinggear',
29
label = 'Diving Gear',
30
price = 700,
31
},
32
{
33
item = 'kuz_divinggeargood',
34
label = 'Scuba gear',
35
price = 3000,
36
}
37
},
38
payWithBank = true,
39
}
40
41
Config.sellLocations = {
42
{
43
locations = {
44
{
45
x = -617.39,
46
y = -234.76,
47
z = 38.05
48
},
49
},
50
name = 'Jeweler',
51
showOnMap = true,
52
useAccount = 'bank',
53
blipIcon = 617,
54
blipColor = 46,
55
blipScale = 0.8,
56
items = {
57
{
58
item = 'kuz_watch',
59
label = 'Expensive watch',
60
price = 770,
61
},
62
{
63
item = 'kuz_pearl',
64
label = 'Pearl',
65
price = 500,
66
},
67
{
68
item = 'kuz_jewelry',
69
label = 'Jewelry',
70
price = 240,
71
},
72
{
73
item = 'kuz_goldcoin',
74
label = 'Golden coin',
75
price = 70,
76
},
77
{
78
item = 'kuz_silvercoin',
79
label = 'Silver coin',
80
price = 25,
81
},
82
},
83
},
84
{
85
locations = {
86
{
87
x = -1621.46,
88
y = -380.81,
89
z = 43.71
90
},
91
{
92
x = -406.8,
93
y = 6313.47,
94
z = 28.94
95
},
96
},
97
name = 'Coins collector',
98
showOnMap = true,
99
useAccount = 'money',
100
blipIcon = 431,
101
blipColor = 46,
102
blipScale = 0.8,
103
items = {
104
{
105
item = 'kuz_rarecoin',
106
label = 'Rare coin',
107
price = 470,
108
},
109
{
110
item = 'kuz_goldcoin',
111
label = 'Golden coin',
112
price = 120,
113
},
114
{
115
item = 'kuz_silvercoin',
116
label = 'Silver coin',
117
price = 35,
118
},
119
},
120
},
121
{
122
locations = {
123
{
124
x = -1095.78,
125
y = 4948.48,
126
z = 218.35
127
},
128
},
129
name = 'Weapon parts buyers',
130
showOnMap = true,
131
useAccount = 'black_money',
132
blipIcon = 437,
133
blipColor = 64,
134
blipScale = 0.7,
135
items = {
136
{
137
item = 'kuz_merryweather',
138
label = 'Merryweather parts',
139
price = 700,
140
},
141
{
142
item = 'kuz_plasmacutter',
143
label = 'Underwater plasma cutter',
144
price = 3500,
145
},
146
},
147
}
148
}
149
150
-- Locations where the items will spawn which then can be picked up by players
151
Config.lootLocations = {
152
paddleBoat = {
153
name = "Paddle boat",
154
showOnMap = true,
155
x = 2688.0,
156
y = -1392.0,
157
z = -18.0,
158
spotsCount = 50,
159
radius = 65,
160
loot = {
161
{
162
item = "kuz_goldcoin",
163
chance = 32,
164
amount_min = 1,
165
amount_max = 2,
166
},
167
{
168
item = "kuz_silvercoin",
169
chance = 50,
170
amount_min = 1,
171
amount_max = 3,
172
},
173
{
174
item = "kuz_pearl",
175
chance = 9,
176
amount_min = 1,
177
amount_max = 2,
178
},
179
{
180
item = "kuz_rarecoin",
181
chance = 6,
182
amount_min = 1,
183
amount_max = 3,
184
},
185
{
186
item = "kuz_plasmacutter",
187
chance = 3,
188
amount_min = 1,
189
amount_max = 1,
190
},
191
},
192
models = {
193
"prop_money_bag_01",
194
"prop_idol_case_02",
195
"prop_drop_armscrate_01b",
196
"prop_box_ammo04a",
197
"prop_box_tea01a",
198
}
199
},
200
airliner = {
201
name = "Airliner",
202
showOnMap = true,
203
x = -934.0,
204
y = 6670.0,
205
z = -27.0,
206
spotsCount = 100,
207
radius = 130,
208
loot = {
209
{
210
item = "kuz_goldcoin",
211
chance = 26,
212
amount_min = 1,
213
amount_max = 2,
214
},
215
{
216
item = "kuz_silvercoin",
217
chance = 34,
218
amount_min = 1,
219
amount_max = 3,
220
},
221
{
222
item = "kuz_jewelry",
223
chance = 20,
224
amount_min = 1,
225
amount_max = 2,
226
},
227
{
228
item = "kuz_rarecoin",
229
chance = 5,
230
amount_min = 1,
231
amount_max = 3,
232
},
233
{
234
item = "kuz_watch",
235
chance = 15,
236
amount_min = 1,
237
amount_max = 2,
238
},
239
},
240
models = {
241
"prop_luggage_04a",
242
"prop_luggage_06a",
243
"prop_luggage_02a",
244
"prop_luggage_01a",
245
"prop_box_tea01a",
246
}
247
},
248
cargoShip = {
249
name = "Cargo ship (Illegal)",
250
showOnMap = true,
251
requireItem = 'kuz_plasmacutter',
252
animationDict = 'Scenario',
253
animation = 'WORLD_HUMAN_WELDING',
254
x = 3168.0,
255
y = -316.0,
256
z = -11.0,
257
spotsCount = 5,
258
radius = 80,
259
loot = {
260
{
261
item = "kuz_merryweather",
262
chance = 60,
263
amount_min = 1,
264
amount_max = 2,
265
},
266
},
267
models = {
268
"prop_container_ld_pu",
269
}
270
}
271
}
272
Copied!
Last modified 9mo ago
Copy link