forked from davedumas0/fiveM-Bikers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu4.lua
617 lines (593 loc) · 24.2 KB
/
menu4.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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
local options = {
x = 0.11,
y = 0.2,
width = 0.22,
height = 0.04,
scale = 0.4,
font = 0,
menu_title = "~r~TBA ~b~menu",
menu_subtitle = "Categories",
color_r = 30,
color_g = 144,
color_b = 255,
}
---------------------------------
local options2 = {
x2 = 0.5,
y2 = 0.2,
width2 = 0.22,
height2 = 0.04,
scale2 = 0.4,
font2 = 0,
menu_title2 = "~r~TBA ~b~menu",
menu_subtitle2 = "Categories",
color_r2 = 30,
color_g2 = 144,
color_b2 = 255,
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
playerPed = GetPlayerPed(PlayerId())
playerCoords = GetEntityCoords(GetPlayerPed(PlayerId()), true)
playerCoordsX = playerCoords.x
playerCoordsY = playerCoords.y
playerCoordsZ = playerCoords.z
playerHeading = GetEntityHeading(GetPlayerPed(PlayerId()))
end
end)
function Notify(text)
SetNotificationTextEntry('STRING')
AddTextComponentString(text)
DrawNotification(false, false)
end
function drawTxt(x, y, width, height, scale, text, r, g, b, a, outline)
SetTextFont(0)
SetTextProportional(0)
SetTextScale(scale, scale)
SetTextColour(r, g, b, a)
SetTextDropShadow(0, 0, 0, 0,255)
SetTextEdge(1, 0, 0, 0, 255)
SetTextDropShadow()
if(outline)then
SetTextOutline()
end
SetTextEntry("STRING")
AddTextComponentString(text)
DrawText(x - width/2, y - height/2 + 0.005)
end
function drawTxt2(x2,y2 ,width2,height2,scale2, text2, r2,g2,b2,a2, outline2)
SetTextFont(0)
SetTextProportional(0)
SetTextScale(scale2, scale2)
SetTextColour(r2, g2, b2, a2)
SetTextDropShadow(0, 0, 0, 0,255)
SetTextEdge(1, 0, 0, 0, 255)
SetTextDropShadow()
if(outline2)then
SetTextOutline()
end
SetTextEntry("STRING")
AddTextComponentString(text2)
DrawText(x2 - width2/2, y2 - height2/2 + 0.005)
end
function DisplayHelpText(str)
SetTextComponentFormat("STRING")
AddTextComponentString(str)
DisplayHelpTextFromStringLabel(0, 1, 1, -1)
end
function refreshInterior(interiorID)
EnableInteriorProp(interiorID,"lower_walls_default")
EnableInteriorProp(interiorID,"Mural_02")
EnableInteriorProp(interiorID,"Walls_01")
EnableInteriorProp(interiorID,"Furnishings_01")
EnableInteriorProp(interiorID,"Decorative_01")
RefreshInterior(interiorID)
end
function disableInteriorMurals(interiorID)
for h = 0, 9 do
DisableInteriorProp(interiorID, "Mural_0"..h)
RefreshInterior(interiorID)
Citizen.Wait(20)
end
end
function disableInteriorWalls(interiorID)
for u = 0, 2 do
DisableInteriorProp(interiorID, "Walls_0"..u)
RefreshInterior(interiorID)
Citizen.Wait(20)
end
end
function disableInteriorFurnishings(interiorID)
for u = 0, 2 do
DisableInteriorProp(interiorID, "Furnishings_0"..u)
RefreshInterior(interiorID)
Citizen.Wait(20)
end
end
function disableInteriorDecorative(interiorID)
for u = 0, 2 do
DisableInteriorProp(interiorID, "Decorative_0"..u)
RefreshInterior(interiorID)
Citizen.Wait(20)
end
end
function refreshInteriorCoke()
EnableInteriorProp(247809,"counterfeit_standard_equip_no_prod")
EnableInteriorProp(247809,"counterfeit_upgrade_equip")
EnableInteriorProp(247809,"counterfeit_security")
EnableInteriorProp(247809,"dryera_off")
EnableInteriorProp(247809,"dryerb_off")
EnableInteriorProp(247809,"dryerc_on")
EnableInteriorProp(247809,"dryerd_on")
RefreshInterior(247809)
end
function disableInteriorCoke()
DisableInteriorProp(247809,"counterfeit_standard_equip_no_prod")
DisableInteriorProp(247809,"counterfeit_upgrade_equip")
DisableInteriorProp(247809,"counterfeit_security")
DisableInteriorProp(247809,"dryera_off")
DisableInteriorProp(247809,"dryerb_off")
DisableInteriorProp(247809,"dryerc_on")
DisableInteriorProp(247809,"dryerd_on")
RefreshInterior(247809)
end
--[[*************************************************************]]
------------------------------------------------------------------
--------------------------main menu 2-----------------------------
------------------------------------------------------------------
--[[*************************************************************]]
--[[
function Main2()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
options2.menu_title2 = "~r~TESTING menu"
options2.menu_subtitle2 = "~r~NATIVE TESTING ~b~menu 4"
ClearMenu2()
Menu2.addButton2("~r~load counterfit", "refreshInterior", )
Menu2.addButton2("~r~unload counterfit", "disableInterior", nil)
Menu2.addButton2("~r~load COKE", "refreshInteriorCoke", nil)
Menu2.addButton2("~r~unload COKE", "disableInteriorCoke", nil)
end
--]]
--[[*************************************************************]]
------------------------------------------------------------------
--------------------------main menu-------------------------------
------------------------------------------------------------------
--[[*************************************************************]]
function Main()
markerLoop = false
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("~r~clubhouse decorations", "bikerClubhousInteriorDecorationsMenu", nil)
Menu.addButton("~r~IMP//EXP decorations", "importExportInteriorDecorationsMenu", nil)
end
function bikerClubhousInteriorDecorationsMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("~g~murals", "bikerClubhousMuralsMenu", nil)
Menu.addButton("~r~disable all mural props", "disableInteriorMurals", interiorID)
Menu.addButton("~g~walls", "bikerClubhousWallsMenu", nil)
Menu.addButton("~r~disable all wall props", "disableInteriorWalls", interiorID)
Menu.addButton("~g~furnishings", "bikerClubhousfurnishingsMenu", nil)
Menu.addButton("~r~disable all Furnishings props", "disableInteriorFurnishings", interiorID)
Menu.addButton("~g~Decoration", "bikerClubhouseDecorativeMenu", nil)
Menu.addButton("~r~disable all Decoration props", "disableInteriorDecorative", interiorID)
Menu.addButton("~g~ModBooth", "bikerClubhouseModBoothMenu", nil)
Menu.addButton("~r~disable all Decoration props", "disableInteriorDecorative", interiorID)
Menu.addButton("~g~enable modBooth", "clubhouseModBooth", nil)
Menu.addButton("~r~disable modBooth", "disableInteriorModBooth", nil)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function importExportInteriorDecorationsMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("~g~Import Export styles", "impExpStyleMenu", nil)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function bikerClubhousMuralsMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
--Menu.addButton("~g~enable interior prop", "", nil)
Menu.addButton("choose your mural", "clubhouseMural", nil)
Menu.addButton("~r~disable all mural props", "disableInteriorMurals", interiorID)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function bikerClubhousWallsMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
--Menu.addButton("~g~enable interior prop", "", nil)
Menu.addButton("choose your walls", "clubhouseWalls", nil)
Menu.addButton("~r~disable all wall props", "disableInteriorWalls", interiorID)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function bikerClubhousfurnishingsMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
--Menu.addButton("~g~enable interior prop", "", nil)
Menu.addButton("choose your Furnishings", "clubhouseFurnishings", nil)
Menu.addButton("~r~disable all Furnishings props", "disableInteriorFurnishings", interiorID)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function bikerClubhouseDecorativeMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
--Menu.addButton("~g~enable interior prop", "", nil)
Menu.addButton("choose your Decoration", "clubhouseDecorative", nil)
Menu.addButton("~r~disable all Decoration props", "disableInteriorDecorative", interiorID)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function impExpStyleMenu()
DisplayHelpText("Use ~INPUT_CELLPHONE_UP~ ~INPUT_CELLPHONE_DOWN~ to ~y~move~w~ and ~y~Enter~w~ to ~r~select")
Notify("Press ~r~F5 ~w~to ~g~open~w~/~r~close~w~!")
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
--Menu.addButton("~g~enable interior prop", "", nil)
Menu.addButton("~g~enable basic style", "enableBasicStyleSet", nil)
Menu.addButton("~r~disable basic style", "disableBasicStyleSet", nil)
Menu.addButton("~g~enable Branded style", "enableBrandedStyleSet", nil)
Menu.addButton("~r~disable Branded style", "disableBrandedStyleSet", nil)
Menu.addButton("~g~enable pump set", "enablePumpSet", nil)
Menu.addButton("~r~disable pump set", "disableenablePumpSet", nil)
Menu.addButton("~g~enable larg garage set 1", "enableLargeGarageSet", nil)
Menu.addButton("~r~disable large garage set 1", "disableLargeGarageSet", nil)
Menu.addButton("~g~enable larg garage set 2", "enableLargeGarageSet2", nil)
Menu.addButton("~r~disable large garage set 2", "disableLargeGarageSet2", nil)
Menu.addButton("~g~enable larg garage set 3", "enableLargeGarageSet3", nil)
Menu.addButton("~r~disable large garage set 3", "disableLargeGarageSet3", nil)
Menu.addButton("~g~enable larg garage set 4", "enableLargeGarageSet4", nil)
Menu.addButton("~r~disable large garage set 4", "disableLargeGarageSet4", nil)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function clubhouseMural()
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("mural_01", "mural", 1)
Menu.addButton("mural_02", "mural", 2)
Menu.addButton("mural_03", "mural", 3)
Menu.addButton("mural_04", "mural", 4)
Menu.addButton("mural_05", "mural", 5)
Menu.addButton("mural_06", "mural", 6)
Menu.addButton("mural_07", "mural", 7)
Menu.addButton("mural_08", "mural", 8)
Menu.addButton("mural_09", "mural", 9)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function clubhouseWalls()
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("wall_01", "walls", 1)
Menu.addButton("wall_02", "walls", 2)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function clubhouseFurnishings()
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("furnishings_01", "furnishings", 1)
Menu.addButton("furnishings_02", "furnishings", 2)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function clubhouseDecorative()
options.menu_title = "~r~TESTING menu"
options.menu_subtitle = "~r~NATIVE TESTING ~b~menu 5"
ClearMenu()
Menu.addButton("Decorative_01", "decorative", 1)
Menu.addButton("Decorative_02", "decorative", 2)
Menu.addButton("~o~BACK TO MAIN MENU", "Main", nil)
end
function clubhouseModBooth()
EnableInteriorProp(interiorID, "Mod_Booth")
RefreshInterior(interiorID)
end
function disableInteriorModBooth()
DisableInteriorProp(interiorID, "Mod_Booth")
RefreshInterior(interiorID)
end
function enableBasicStyleSet()
EnableInteriorProp(interiorID, "Basic_style_set")
RefreshInterior(interiorID)
end
function disableBasicStyleSet()
DisableInteriorProp(interiorID, "Basic_style_set")
RefreshInterior(interiorID)
end
function enableBrandedStyleSet()
EnableInteriorProp(interiorID, "Branded_style_set")
RefreshInterior(interiorID)
end
function disableBrandedStyleSet()
DisableInteriorProp(interiorID, "Branded_style_set")
RefreshInterior(interiorID)
end
function enablePumpSet()
EnableInteriorProp(interiorID, "pump_01")
EnableInteriorProp(interiorID, "pump_06")
EnableInteriorProp(interiorID, "pump_07")
EnableInteriorProp(interiorID, "pump_08")
EnableInteriorProp(interiorID, "pump_02")
EnableInteriorProp(interiorID, "pump_03")
EnableInteriorProp(interiorID, "pump_04")
EnableInteriorProp(interiorID, "pump_05")
RefreshInterior(interiorID)
end
function disableenablePumpSet()
DisableInteriorProp(interiorID, "pump_01")
DisableInteriorProp(interiorID, "pump_06")
DisableInteriorProp(interiorID, "pump_07")
DisableInteriorProp(interiorID, "pump_08")
DisableInteriorProp(interiorID, "pump_02")
DisableInteriorProp(interiorID, "pump_03")
DisableInteriorProp(interiorID, "pump_04")
DisableInteriorProp(interiorID, "pump_05")
RefreshInterior(interiorID)
end
function enableLargeGarageSet()
EnableInteriorProp(interiorID, "Garage_Decor_01")
RefreshInterior(interiorID)
end
function disableLargeGarageSet()
DisableInteriorProp(interiorID, "Garage_Decor_01")
RefreshInterior(interiorID)
end
function enableLargeGarageSet2()
EnableInteriorProp(interiorID, "Garage_Decor_02")
RefreshInterior(interiorID)
end
function disableLargeGarageSet2()
DisableInteriorProp(interiorID, "Garage_Decor_02")
RefreshInterior(interiorID)
end
function enableLargeGarageSet3()
EnableInteriorProp(interiorID, "Garage_Decor_03")
RefreshInterior(interiorID)
end
function disableLargeGarageSet3()
DisableInteriorProp(interiorID, "Garage_Decor_03")
RefreshInterior(interiorID)
end
function enableLargeGarageSet4()
EnableInteriorProp(interiorID, "Garage_Decor_04")
RefreshInterior(interiorID)
end
function disableLargeGarageSet4()
DisableInteriorProp(interiorID, "Garage_Decor_04")
RefreshInterior(interiorID)
end
function mural(n)
bikerClubhousInteriorDecorationsMenu()
mural1 = "mural_0"..n
EnableInteriorProp(interiorID, mural1)
RefreshInterior(interiorID)
end
function walls(n)
bikerClubhousInteriorDecorationsMenu()
walls1 = "Walls_0"..n
EnableInteriorProp(interiorID, walls1)
RefreshInterior(interiorID)
end
function furnishings(o)
bikerClubhousInteriorDecorationsMenu()
furnishings1 = "Furnishings_0"..o
EnableInteriorProp(interiorID, furnishings1)
RefreshInterior(interiorID)
end
function decorative(nn)
bikerClubhousInteriorDecorationsMenu()
decorative1 = "Decorative_0"..nn
EnableInteriorProp(interiorID, decorative1)
RefreshInterior(interiorID)
end
function temp()
Notify(tostring(GetEntityCoords(GetPlayerPed(PlayerId()))))
end
function temp1()
Notify(GetInteriorFromEntity(GetPlayerPed(PlayerId())))
end
function temp2()
Notify(GetRoomKeyFromEntity(GetPlayerPed(PlayerId())))
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--Press F5 to open/close menu
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
interiorID = GetInteriorAtCoords(GetEntityCoords(GetPlayerPed(PlayerId()), true))
if IsControlJustReleased(1, 56) then -- INPUT_CELLPHONE_DOWN
Main() -- Menu to draw
Menu.hidden = not Menu.hidden -- Hide/Show the menu
end
Menu.renderGUI(options) -- Draw menu on each tick if Menu.hidden = fals
end
end)
------------------------------------------------------------------------------------------------------------
--------------------------while inside a warehouse----------------------------------------------------------
------------------------------------------------------------------------------------------------------------
--[[
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if GetInteriorFromEntity(GetPlayerPed(PlayerId())) == 247809 then -- INPUT_CELLPHONE_DOWN
Main2() -- Menu to draw
Menu2.hidden2 = false -- Hide/Show the menu
else
Menu2.hidden2 = true
end
Menu2.renderGUI2(options2) -- Draw menu on each tick if Menu.hidden = fals
end
end)
--]]
--------------------------------------------------------------------------------------
-------------------------------blips and markers--------------------------------------
--------------------------------------------------------------------------------------
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(-1471.9132568359, -920.27752685547, 9.1242156982422)
SetBlipSprite(temp2, 375)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, -1471.9132568359, -920.27752685547, 9.1242156982422, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false)
end
end)
Citizen.CreateThread(function()
local temp1 = AddBlipForCoord(-1147.5658203125, -1577.5626464844, 3.5033765792847)
SetBlipSprite(temp1, 375)
SetBlipAsShortRange(temp1, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp1)
while true do
Citizen.Wait(0)
DrawMarker(1, -1147.5658203125, -1577.5626464844, 3.5033765792847, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp1 = AddBlipForCoord(1731.4437744141, 3707.8814453125, 33.00584487915)
SetBlipSprite(temp1, 375)
SetBlipAsShortRange(temp1, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp1)
while true do
Citizen.Wait(0)
DrawMarker(1, 1731.4437744141, 3707.8814453125, 33.00584487915, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp1 = AddBlipForCoord(56.000817871094, -1045.69609375, 28.465732192993)
SetBlipSprite(temp1, 375)
SetBlipAsShortRange(temp1, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp1)
while true do
Citizen.Wait(0)
DrawMarker(1, 56.000817871094, -1045.69609375, 28.465732192993, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp1 = AddBlipForCoord(-41.689205932617, 6417.0833007813, 30.590455627441)
SetBlipSprite(temp1, 375)
SetBlipAsShortRange(temp1, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp1)
while true do
Citizen.Wait(0)
DrawMarker(1, -41.689205932617, 6417.0833007813, 30.590455627441, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(2467.8368164063, 4100.8711914062, 36.864682006836)
SetBlipSprite(temp2, 375)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, 2467.8368164063, 4100.8711914062, 36.864682006836, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(943.37563476563, -1458.60078125, 30.22310218811)
SetBlipSprite(temp2, 375)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, 943.37563476563, -1458.60078125, 30.22310218811, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(178.11896972656, 308.55670166016, 104.47113952637)
SetBlipSprite(temp2, 375)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, 178.11896972656, 308.55670166016, 104.47113952637, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(-17.055588912964, -193.83917236328, 51.458997344971)
SetBlipSprite(temp2, 375)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, -17.055588912964, -193.83917236328, 51.458997344971, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, 1.5, 1.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false )
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(-253.168, -2586.399, 6.0)
SetBlipSprite(temp2, 492)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("READY:Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, -253.168, -2586.399, 6.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.5, 2.5, 2.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false)
if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1), true), -253.168, -2586.399, 6.0) < 1.8 and IsControlPressed(0, 38) then
SetEntityCoords(GetPlayerPed(-1), 1118.870, -3196.687, -40.39)
RefreshInterior(252673)
end
if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1), true), 1118.870, -3193.370, -40.39) < 1.8 and IsControlPressed(0, 38) then
SetEntityCoords(GetPlayerPed(-1), -253.168, -2588.399, 6.0)
end
end
end)
Citizen.CreateThread(function()
local temp2 = AddBlipForCoord(1008.0133, -1854.208, 31.039)
SetBlipSprite(temp2, 492)
SetBlipAsShortRange(temp2, false)
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("READY:Biker Clubhouse")
EndTextCommandSetBlipName(temp2)
while true do
Citizen.Wait(0)
DrawMarker(1, 1008.0133, -1854.208, 31.039, 0.0, 0.0, 0.0, 0.0, 0.0, 2.5, 2.5, 2.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false)
if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1), true), 1008.0133, -1855.208, 31.039) < 1.5 and IsControlPressed(0, 38)
then
SetEntityCoords(GetPlayerPed(-1), 975.368, -2998.64, -39.64)
end
DrawMarker(1, 970.859, -2987.53, -40.84, 0.0, 0.0, 0.0, 0.0, 0.0, 2.5, 2.5, 2.5, 2.5, 200, 233, 0, 150, 0, 0, 2, 0, 0, 0, false)
if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1), true), 970.859, -2987.53, -40.84) < 1.5 and IsControlPressed(0, 38) then
SetEntityCoords(GetPlayerPed(-1), 1010.0133, -1860.208, 31.039)
end
end
end)