-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoldenGets Menu.lua
More file actions
16171 lines (15687 loc) · 789 KB
/
GoldenGets Menu.lua
File metadata and controls
16171 lines (15687 loc) · 789 KB
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
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SupportBuild = "3337"
SupportVersion = "1.69"
GoldenGetsMenuVersion = "1.3"
------------------------------------ Launch Menu
GoldenGetsMenu = gui.get_tab("GoldenGets Menu")
gui.show_message("GoldenGets Menu v"..GoldenGetsMenuVersion.." | "..SupportVersion.."-"..SupportBuild.."","is Successfully launched!")
------------------------------------ Build Compatibility
CurrentBuild = memory.scan_pattern("8B C3 33 D2 C6 44 24 20"):add(0x24):rip()
CurrentBuild_string = CurrentBuild:get_string()
BuildStatus = 0
if CurrentBuild:get_string() ~= SupportBuild then
BuildStatus = 0 -- Failed to find some patterns for GTA5 (Note: Found game version 1.69-3351 but this YimMenu version is for game version 1.69-3337)
gui.show_error("GoldenGets Menu - Outdate","Unsupported Build version (b"..SupportBuild.."). Some functions will be automatically disabled!")
log.warning("Unsupported Build version (b"..SupportBuild.."), current Build version is (b"..CurrentBuild_string.."). Some functions will be automatically disabled!")
else
BuildStatus = 1
end
function globals_b_get_int(SupportBuild_string, intglobal)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
return globals.get_int(intglobal)
else
log.warning("Unable to read data, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function globals_b_set_int(SupportBuild_string, intglobal, intglobalvalue)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
globals.set_int(intglobal, intglobalvalue)
else
log.warning("Unable to run, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function globals_b_get_float(SupportBuild_string, floatglobal)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
return globals.get_float(floatglobal)
else
log.warning("Unable to read data, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function globals_b_set_float(SupportBuild_string, floatglobal, floatgloballvalue)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
globals.set_float(floatglobal, floatgloballvalue)
else
log.warning("Unable to run, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function locals_b_get_int(SupportBuild_string, scriptname, intlocal)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
return locals.get_int(scriptname, intlocal)
else
log.warning("Unable to read data, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function locals_b_set_int(SupportBuild_string, scriptname, intlocal, intlocalvalue)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
locals.set_int(scriptname, intlocal, intlocalvalue)
else
log.warning("Unable to run, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function locals_b_get_float(SupportBuild_string, scriptname, floatlocal)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
return locals.get_float(scriptname, floatlocal)
else
log.warning("Unable to read data, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
function locals_b_set_float(SupportBuild_string, scriptname, floatlocal, floatlocalvalue)
if tostring(SupportBuild_string) == CurrentBuild_string or BuildStatus == 5 then
locals.set_float(scriptname, floatlocal, floatlocalvalue)
else
log.warning("Unable to run, unsupported Build version (b"..SupportBuild_string.."). Current Build version is (b"..CurrentBuild_string..")")
end
end
------------------------------------ Version Compatibility
CurrentVersion = NETWORK.GET_ONLINE_VERSION()
CurrentVersion_string = CurrentVersion
VersionStatus = 0
if CurrentVersion ~= SupportVersion then
VersionStatus = 0
gui.show_error("GoldenGets Menu - Outdate","Unsupported Online version (v"..SupportVersion.."). Some functions will be automatically disabled!")
log.warning("Unsupported Online version (v"..SupportVersion.."), current Online version is (v"..CurrentVersion_string.."). Some functions will be automatically disabled!")
else
VersionStatus = 1
end
function globals_v_get_int(SupportVersion, intglobal)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
return globals.get_int(intglobal)
else
log.warning("Unable to read data, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function globals_v_set_int(SupportVersion, intglobal, intglobalvalue)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
globals.set_int(intglobal, intglobalvalue)
else
log.warning("Unable to run, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function globals_v_get_float(SupportVersion, floatglobal)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
return globals.get_float(floatglobal)
else
log.warning("Unable to read data, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function globals_v_set_float(SupportVersion, floatglobal, floatgloballvalue)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
globals.set_float(floatglobal, floatgloballvalue)
else
log.warning("Unable to run, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function locals_v_get_int(SupportVersion, scriptname, intlocal)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
return locals.get_int(scriptname, intlocal)
else
log.warning("Unable to read data, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function locals_v_set_int(SupportVersion, scriptname, intlocal, intlocalvalue)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
locals.set_int(scriptname, intlocal, intlocalvalue)
else
log.warning("Unable to run, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function locals_v_get_float(SupportVersion, scriptname, floatlocal)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
return locals.get_float(scriptname, floatlocal)
else
log.warning("Unable to read data, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
function locals_v_set_float(SupportVersion, scriptname, floatlocal, floatlocalvalue)
if tostring(SupportVersion) == CurrentVersion_string or VersionStatus == 5 then
locals.set_float(scriptname, floatlocal, floatlocalvalue)
else
log.warning("Unable to run, unsupported Online version (v"..SupportVersion.."). Current Online version is (v"..CurrentVersion_string..")")
end
end
------------------------------------ Stat Manipulation (Note: no effect on update version)
--function stats_get_packed_stat_bool(packedindex)
-- stats.get_packed_stat_bool(packedindex)
--end
--
--function stats_set_packed_stat_bool(packedindex, packedvalue)
-- stats.set_packed_stat_bool(packedindex, packedvalue)
--end
--
--function stats_get_bool_masked(maskedstat, maskedindex)
-- stats.get_bool_masked(maskedstat, maskedindex)
--end
--
--function stats_set_bool_masked(maskedstat, maskedindex, maskedvalue)
-- stats.set_bool_masked(maskedstat, maskedvalue, maskedindex)
--end
------------------------------------ Network Session Compatibility
NetworkSessionStatus = 0
if NETWORK.NETWORK_IS_SESSION_STARTED() then
NetworkSessionStatus = 1
else
NetworkSessionStatus = 0
end
function NETWORK_SESSION_STARTED()
if ForceOnlineFeatures then
return true
else
return NETWORK.NETWORK_IS_SESSION_STARTED()
end
end
------------------------------------
--Scripts--
ASS = "appsecuroserv"
AMN = "am_mp_nightclub"
AMW = "am_mp_warehouse"
FMC = "fm_mission_controller"
FMC20 = "fm_mission_controller_2020"
THP = "tuner_planning"
VP = "vehrob_planning"
HIP = "heist_island_planning"
GCHP = "gb_casino_heist_planning"
GCS = "gb_contraband_sell"
GCB = "gb_contraband_buy"
GB = "gb_gunrunning"
GS = "gb_smuggler"
CLW = "casino_lucky_wheel"
BJ = "blackjack"
CR = "casinoroulette"
CS = "casino_slots"
TCP = "three_card_poker"
GSH = "gunclub_shop"
--Globals--
FMg = 262145 -- free mode // Tunable: CASH_MULTIPLIER
XMg = FMg + 1 -- xp multiplier // Tunable: XP_MULTIPLIER
APg = FMg + 31084 -- agency payout // Tunable: FIXER_FINALE_LEADER_CASH_REWARD
ACKg = FMg + 31036 -- agency cooldown killer // Tunable: FIXER_STORY_COOLDOWN_POSIX"
ASPg1 = FMg + 30338 + 1 -- auto shop payout 1 // Tunable: TUNER_ROBBERY_LEADER_CASH_REWARD0
ASPg2 = FMg + 30338 + 8 -- auto shop payout 2 // Tunable: TUNER_ROBBERY_LEADER_CASH_REWARD7
ASFg = FMg + 30334 -- auto shop fee // Tunable: TUNER_ROBBERY_CONTACT_FEE
ASCKg = FMg + 30357 -- auto shop cooldown // Tunable: TUNER_ROBBERY_COOLDOWN_TIME
ACg1 = 1928958 + 1 + 1 -- apartment player 1 cut
ACg2 = 1928958 + 1 + 2 -- apartment player 2 cut
ACg3 = 1928958 + 1 + 3 -- apartment player 3 cut
ACg4 = 1928958 + 1 + 4 -- apartment player 4 cut
ACg5 = 1930926 + 3008 + 1 -- local apartment player 1 cut
ACFg1 = 1930926 + 192
ACFg2 = 1930926 + 190
AUAJg1 = FMg + 9101 -- apartment unlock all jobs 1 // Tunable: ROOT_ID_HASH_THE_FLECCA_JOB
AUAJg2 = FMg + 9106 -- apartment unlock all jobs 2 // Tunable: ROOT_ID_HASH_THE_PRISON_BREAK
AUAJg3 = FMg + 9113 -- apartment unlock all jobs 3 // Tunable: ROOT_ID_HASH_THE_HUMANE_LABS_RAID
AUAJg4 = FMg + 9119 -- apartment unlock all jobs 4 // Tunable: ROOT_ID_HASH_SERIES_A_FUNDING
AUAJg5 = FMg + 9125 -- apartment unlock all jobs 5 // Tunable: ROOT_ID_HASH_THE_PACIFIC_STANDARD_JOB
CPCg1 = 1971648 + 831 + 56 + 1 -- cayo perico player 1 cut
CPCg2 = 1971648 + 831 + 56 + 2 -- cayo perico player 2 cut
CPCg3 = 1971648 + 831 + 56 + 3 -- cayo perico player 3 cut
CPCg4 = 1971648 + 831 + 56 + 4 -- cayo perico player 4 cut
GCg = 2685444 + 6639 -- global cut // Guide: fVar1 = (fVar1 * (fVar2 / 100f));
CPBg = FMg + 29211 -- cayo perico bag // Tunable: HEIST_BAG_MAX_CAPACITY
DCCg1 = 1964849 + 1497 + 736 + 92 + 1 -- diamond casino player 1 cut
DCCg2 = 1964849 + 1497 + 736 + 92 + 2 -- diamond casino player 2 cut
DCCg3 = 1964849 + 1497 + 736 + 92 + 3 -- diamond casino player 3 cut
DCCg4 = 1964849 + 1497 + 736 + 92 + 4 -- diamond casino player 4 cut
DCg1 = 1960755 + 812 + 50 + 1 -- doomsday player 1 cut
DCg2 = 1960755 + 812 + 50 + 2 -- doomsday player 2 cut
DCg3 = 1960755 + 812 + 50 + 3 -- doomsday player 3 cut
DCg4 = 1960755 + 812 + 50 + 4 -- doomsday player 4 cut
SYRTg = FMg + 33023 -- salvage yard robbery type // Tunable: SALV23_VEHICLE_ROBBERY_0
SYCKg = FMg + 33027 -- salvage yard can keep // Tunable: SALV23_VEHICLE_ROBBERY_CAN_KEEP_0
SYVTg = FMg + 33031 -- salvage yard vehicle type // Tunable: SALV23_VEHICLE_ROBBERY_ID_0
SYVVg = FMg + 33035 -- salvage yard vehicle value // Tunable: SALV23_VEHICLE_ROBBERY_VALUE_0
SYWCg = FMg + 33054 -- salvage yard weekly cooldown // Tunable: SALV23_VEH_ROBBERY_WEEK_ID
SYCg1 = FMg + 33064 -- salvage yard cooldown // Tunable: SALV23_VEH_ROB_COOLDOWN_TIME
SYCg2 = FMg + 33065 -- salvage yard cooldown // Tunable: SALV23_CFR_COOLDOWN_TIME
SYCPg = FMg + 33075 -- salvage yard claim price // Tunable: SALV23_VEHICLE_CLAIM_PRICE
SYCPDg = FMg + 33076 -- salvage yard claim price discount // Tunable: SALV23_VEHICLE_CLAIM_PRICE_FORGERY_DISCOUNT
SYSMg = FMg + 33043 -- salvage yard salvage multiplier // Tunable: SALV23_VEHICLE_SALVAGE_VALUE_MULTIPLIER
SYSPg = FMg + 34961 -- salvage yard setup price // Tunable: 71522671
CMACLg1 = FMg + 26534 -- casino master acquire chips limit 1 // Tunable: VC_CASINO_CHIP_MAX_BUY
CMACLg2 = FMg + 26535 -- casino master acquire chips limit 2 // Tunable: VC_CASINO_CHIP_MAX_BUY_PENTHOUSE
HCVPg = FMg + 22492 -- hangar cargo vip payout // Tunable: SMUG_SELL_PRICE_PER_CRATE_MIXED
HCVRCg = FMg + 22475 -- hangar cargo vip ron's cut // Tunable: SMUG_SELL_RONS_CUT
CRg = 2707357 + 36 -- cash remover // Guide: VEH_WHS_RP_A
NHCNSg = FMg + 23969 -- nightclub helper cargo n shipments // Tunable: BB_BUSINESS_BASIC_VALUE_CARGO
NHSGg = FMg + 23963 -- nightclub helper sporting goods // Tunable: BB_BUSINESS_BASIC_VALUE_WEAPONS
NHSAIg = FMg + 23964 -- nightclub helper s.a. imports // Tunable: BB_BUSINESS_BASIC_VALUE_COKE
NHPRg = FMg + 23965 -- nightclub helper pharmaceutical reseacrh // Tunable: BB_BUSINESS_BASIC_VALUE_METH
NHOPg = FMg + 23966 -- nightclub helper organic produce // Tunable: BB_BUSINESS_BASIC_VALUE_WEED
NHPNCg = FMg + 23967 -- nightclub helper printing n copying // Tunable: BB_BUSINESS_BASIC_VALUE_FORGED_DOCUMENTS
NHCCg = FMg + 23968 -- nightclub helper cash creation // Tunable: BB_BUSINESS_BASIC_VALUE_COUNTERFEIT_CASH
NHCKg1 = FMg + 24026 -- nightclub helper cooldown killer 1 // Tunable: BB_CLUB_MANAGEMENT_CLUB_MANAGEMENT_MISSION_COOLDOWN
NHCKg2 = FMg + 24067 -- nightclub helper cooldown killer 2 // Tunable: BB_SELL_MISSIONS_MISSION_COOLDOWN
NHCKg3 = FMg + 24068 -- nightclub helper cooldown killer 3 // Tunable: BB_SELL_MISSIONS_DELIVERY_VEHICLE_COOLDOWN_AFTER_SELL_MISSION
CSg1 = 1575035 -- change session (type) 1 // Guide: NETWORK::UGC_SET_USING_OFFLINE_CONTENT(false);
CSg2 = 1574589 -- change session (switch) 2 // Guide: MP_POST_MATCH_TRANSITION_SCENE
CSg3 = 1574589 + 2 -- change session (quit) 3 // Guide: MP_POST_MATCH_TRANSITION_SCENE
SCVPg = FMg + 15732 -- special cargo vip price // Tunable: EXEC_CONTRABAND_SALE_VALUE_THRESHOLD1
SCVBCg = FMg + 15499 -- special cargo vip buy cooldown // Tunable: EXEC_BUY_COOLDOWN
SCVScg = FMg + 15500 -- special cargo vip sell cooldown // Tunable: EXEC_SELL_COOLDOWN
BTEg1 = 4537455 -- bypass transaction error 1
BTEg2 = 4537456 -- bypass transaction error 2
BTEg3 = 4537457 -- bypass transaction error 3
CLg = 1964419 -- cheap loop // Guide: MPPLY_CASINO_MEM_BONUS
TTg = 4537311 -- trigger transaction
NLSCg = FMg + 23680 -- night loop safe capacity // Tunable: NIGHTCLUBMAXSAFEVALUE
NLISg = FMg + 23657 -- night loop income start // Tunable: NIGHTCLUBINCOMEUPTOPOP5
NLIEg = FMg + 23676 -- night loop income end // Tunable: NIGHTCLUBINCOMEUPTOPOP100
ORg = 1962237 -- orbital refund // Guide: ORB_CAN_QUIT1
AUg = 4543384 + 1 -- achievements unlocker // Guide: PLAYER::HAS_ACHIEVEMENT_BEEN_PASSED(iParam0) && iParam1 == 1
CUg = 2708057 -- collectibles unlocker // Guide: cellphone_badger
AFo = CUg + 209 -- action figures offset
LDOo = CUg + 593 -- ld organics offset
PCo = CUg + 210 -- plating cards offset
SJo = CUg + 211 -- signal jammers offset
So = CUg + 600 -- snowmen offset
MPo = CUg + 494 -- movie props offset
JOLo = CUg + 591 -- jack o lanterns offset
SCCg = FMg + 18919 -- sex changer change appearance cooldown // Tunable: CHARACTER_APPEARANCE_COOLDOWN
BUCg1 = FMg + 21264 -- bunker unlocker cooldown 1 // Tunable: GR_RESEARCH_CAPACITY
BUCg2 = FMg + 21265 -- bunker unlocker cooldown 2 // Tunable: GR_RESEARCH_PRODUCTION_TIME
BUCg3 = FMg + 21266 -- bunker unlocker cooldown 3 // Tunable: GR_RESEARCH_UPGRADE_EQUIPMENT_REDUCTION_TIME
BUCg4 = FMg + 21267 -- bunker unlocker cooldown 4 // Tunable: GR_RESEARCH_UPGRADE_STAFF_REDUCTION_TIME
BUAg1 = FMg + 21268 -- bunker unlocker additional 1 // Tunable: GR_RESEARCH_MATERIAL_PRODUCT_COST
BUAg2 = FMg + 21269 -- bunker unlocker additional 2 // Tunable: GR_RESEARCH_MATERIAL_PRODUCT_COST_UPGRADE_REDUCTION
LSCMMg1 = FMg + 30958 -- ls car meet multiplier 1 // Tunable: TUNER_SPRINT_FIRST_TIME_BONUS_XP_MULTIPLIER
LSCMMg2 = FMg + 30987 -- ls car meet multiplier 2 // Tunable: TUNER_MERCH_PURCHASE_XP_MULTIPLIER
GSIg = 1663174 -- get supplies instantly // Guide: OR_PSUP_DEL
GVLg = 2652592 + 2671 + 1 -- gun van location // Guide: NETWORK::NETWORK_GET_NUM_PARTICIPANTS()
GVWSg = FMg + 33273 -- modify gun van weapon slot // Tunable: XM22_GUN_VAN_SLOT_WEAPON_TYPE_0
GVTSg = FMg + 33295 -- modify gun van throwable slot 1 // Tunable: XM22_GUN_VAN_SLOT_THROWABLE_TYPE_0
GVWDg = FMg + 33284 -- modify gun van weapon slot 1 discount // Tunable: XM22_GUN_VAN_SLOT_WEAPON_DISCOUNT_0
GVTDg = FMg + 33299 -- modify gun van throwable discount // Tunable: XM22_GUN_VAN_SLOT_THROWABLE_DISCOUNT_0
GVADg = FMg + 33303 -- modify gun van armor discount // Tunable: XM22_GUN_VAN_SLOT_ARMOUR_DISCOUNT_0
GVSg = FMg + 33309 -- modify gun van skins for knife and bat // Tunable: 1490225691
EVg1 = FMg + 14700 -- enable vehicles 1 // Tunable: ENABLE_LOWRIDER2_VIRGO3
EVg2 = FMg + 14705 -- enable vehicles 2 // Tunable: ENABLE_LOWRIDER2_SLAMVAN
EVg3 = FMg + 17352 -- enable vehicles 3 // Tunable: ENABLE_BIKER_DEFILER
EVg4 = FMg + 17373 -- enable vehicles 4 // Tunable: ENABLE_BIKER_RATBIKE
EVg5 = FMg + 18938 -- enable vehicles 5 // Tunable: ENABLE_IE_VOLTIC2
EVg6 = FMg + 18962 -- enable vehicles 6 // Tunable: ENABLE_IE_TEMPESTA
EVg7 = FMg + 20828 -- enable vehicles 7 // Tunable: ENABLE_XA2
EVg8 = FMg + 20833 -- enable vehicles 8 // Tunable: ENABLE_NIGHTSHARK
EVg9 = FMg + 21598 -- enable vehicles 9 // Tunable: ENABLE_ULTRALIGHT
EVg10 = FMg + 21617 -- enable vehicles 10 // Tunable: ENABLE_LAZER
EVg11 = FMg + 22540 -- enable vehicles 11 // Tunable: ENABLE_DELUXO
EVg12 = FMg + 22567 -- enable vehicles 12 // Tunable: ENABLE_KAMACHO
EVg13 = FMg + 23715 -- enable vehicles 13 // Tunable: ENABLE_HOTRING
EVg14 = FMg + 23730 -- enable vehicles 14 // Tunable: ENABLE_JESTER3
EVg15 = FMg + 23777 -- enable vehicles 15 // Tunable: ENABLE_TERBYTE
EVg16 = FMg + 23799 -- enable vehicles 16 // Tunable: ENABLE_HABANERO
EVg17 = FMg + 25366 -- enable vehicles 17 // Tunable: ENABLE_VEHICLE_TOROS
EVg18 = FMg + 25397 -- enable vehicles 18 // Tunable: ENABLE_VEHICLE_PARAGON
EVg19 = FMg + 26329 -- enable vehicles 19 // Tunable: ENABLE_VEHICLE_DEVESTE
EVg20 = FMg + 26330 -- enable vehicles 20 // Tunable: ENABLE_VEHICLE_VAMOS
EVg21 = FMg + 28169 -- enable vehicles 21 // Tunable: ENABLE_VEHICLE_FORMULA_PODIUM
EVg22 = FMg + 28191 -- enable vehicles 22 // Tunable: ENABLE_VEHICLE_BLAZER2
EVg23 = FMg + 28193 -- enable vehicles 23 // Tunable: ENABLE_VEHICLE_FORMULA
EVg24 = FMg + 28196 -- enable vehicles 24 // Tunable: ENABLE_VEHICLE_FORMULA2
EVg25 = FMg + 28201 -- enable vehicles 25 // Tunable: ENABLE_VEHICLE_IMORGEN
EVg26 = FMg + 28203 -- enable vehicles 26 // Tunable: ENABLE_VEHICLE_VSTR
EVg27 = FMg + 29156 -- enable vehicles 27 // Tunable: ENABLE_VEH_TIGON
EVg28 = FMg + 29162 -- enable vehicles 28 // Tunable: ENABLE_VEH_GAUNTLET5
EVg29 = FMg + 28828 -- enable vehicles 29 // Tunable: ENABLE_VEH_GLENDALE2
EVg30 = FMg + 28835 -- enable vehicles 30 // Tunable: ENABLE_VEH_DUKES3
EVg31 = FMg + 29589 -- enable vehicles 31 // Tunable: ENABLE_VEHICLE_TOREADOR
EVg32 = FMg + 29605 -- enable vehicles 32 // Tunable: ENABLE_VEHICLE_VERUS
EVg33 = FMg + 30305 -- enable vehicles 33 // Tunable: ENABLE_VEHICLE_TAILGATER2
EVg34 = FMg + 30321 -- enable vehicles 34 // Tunable: ENABLE_VEHICLE_COMET6
EVg35 = FMg + 31212 -- enable vehicles 35 // Tunable: ENABLE_VEHICLE_CHAMPION
EVg36 = FMg + 31226 -- enable vehicles 36 // Tunable: ENABLE_VEHICLE_BALLER7
EVg37 = FMg + 32412 -- enable vehicles 37 // Tunable: ENABLE_VEHICLE_OMNISEGT
EVg38 = FMg + 32430 -- enable vehicles 38 // Tunable: ENABLE_VEHICLE_SENTINEL4
EVg39 = FMg + 33374 -- enable vehicles 39 // Tunable: ENABLE_VEHICLE_ENTITY3
EVg40 = FMg + 33389 -- enable vehicles 40 // Tunable: ENABLE_VEHICLE_BOOR
EVg41 = FMg + 35172 -- enable vehicles 41 // Tunable: ENABLE_VEHICLE_FR36
EVg42 = FMg + 35191 -- enable vehicles 42 // Tunable: ENABLE_VEHICLE_BENSON2
EVg43 = FMg + 35405 -- enable vehicles 43 // Tunable: ENABLE_VEHICLE_YOSEMITE1500
EVg44 = FMg + 34323 -- enable vehicles 44 // Tunable: ENABLE_VEHICLE_EXEMPLAR
EVg45 = FMg + 34599 -- enable vehicles 45 // Tunable: ENABLE_VEHICLE_MONSTER
EVg46 = FMg + 34605 -- enable vehicles 46 // Tunable: ENABLE_VEHICLE_L35
EVg47 = FMg + 34617 -- enable vehicles 47 // Tunable: ENABLE_VEHICLE_BRIGHAM
EDVBg = 2707347 -- enable dripfeed vehicles bypass
EDVg1 = FMg + 35629 -- enable dripfeed vehicles 1 // Tunable: ENABLE_VEHICLE_ENVISAGE
EDVg2 = FMg + 35643 -- enable dripfeed vehicles 2 // Tunable: ENABLE_VEHICLE_PIZZABOY
--Locals--
FMCSHl = 3236 -- fm_mission_controller script host // Guide: MP_Reduce_Score_For_Emitters_Scene
FMC20SHl = 19376 -- fm_mission_controller_2020 script host // Guide: bVar0 = NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT();
AIFl1 = 38397 -- agency instant finish 1 (outdated)
AIFl2 = 39772 -- agency instant finish 2 (outdated)
ASRBl = 383 -- auto shop reload board
ASIFl1 = 50150 + 1 -- auto shop instant finish 1
ASIFl2 = 50150 + 1770 + 1 -- auto shop finish 2
AIFl3 = 19746 -- apartment instant finish 1
AIFl4 = 28365 + 1 -- apartment instant finish 2
AIFl5 = 31621 + 69 -- apartment instant finish 3
AFHl = 11778 + 24 -- apartment fleeca hack
AFDl = 10069 + 11 -- apartment fleeca drill
CPRSl = 1546 -- cayo perico reload screen
CPFHl = 24880 -- cayo perico fingerprint hack // Guide: practice
CPPCCl = 30939 + 3 -- cayo perico plasma cutter cut // Guide: Overheat_Loop
CPSTCl = 29700 -- cayo perico drainage pipe cut // Guide: UT_WELD_PROMPT
CPIFl1 = 50150 -- cayo perico instant finish 1
CPIFl2 = 50150 + 1770 + 1 -- cayo perico instant finish 2
DCRBl = 185 -- diamond casino reload board
DCAl = 10255 -- diamond casino autograbber // Guide: DLC_HEIST_MINIGAME_PAC_CASH_GRAB_SCENE
DCASl = 10255 + 14 -- diamond casino autograbber speed
DCFHl = 53019 -- diamond casino fingerprint hack // Guide: DLC_HEIST_MINIGAME_PAC_CASH_GRAB_SCENE
DCKHl = 54085 -- diamond casino keypad hack
DCDVDl1 = 10109 + 7 -- diamond casino drill vault door 1 // Guide: DLC_HEIST_MINIGAME_FLEECA_DRILLING_SCENE
DCDVDl2 = 10109 + 37 -- diamond casino drill vault door 2
DDBHl = 1514 -- doomsday data breaches hack
DDSHl = 1271 + 135 -- doomsday doomsday scenario hack
DIFl1 = 19746 -- doomsday instant finish 1
DIFl2 = 19746 + 1741 -- doomsday instant finish 2
DIFl3 = 27489 + 859 + 18 -- doomsday instant finish 3
DIFl4 = 31621 + 69 -- doomsday instant finish 4
DIFl5 = 31621 + 97 -- doomsday instant finish 5
SYRSl = 512 -- salvage yard reload screen
BCISl = 1211 + 774 -- bunker crash instant sell // Local_1211.f_774
CMBJCl = 116 -- casino master bjackjack cards
CMBJDl = 846 -- casino master bjackjack decks
CMBJPTl = 1776 -- casino master bjackjack player's table
CMBJPTSl = 8 -- casino master bjackjack player's table size
CMGLPl1 = 280 + 14 -- casino master lucky wheel win state
CMGLPl2 = 280 + 45 -- casino master lucky wheel prize state
CMPTl = 749 -- casino master poker table
CMPTSl = 9 -- casino master poker table size
CMPCl = 116 -- casino master poker cards
CMPCDl = 168 -- casino master poker current deck
CMPACl = 1038 -- casino master poker anti cheat
CMPACDl = 799 -- casino master poker anti cheat deck
CMPDSl = 55 -- casino master poker deck size
CMRMTl = 124 -- casino master roulette master table
CMROTl = 1357 -- casino master roulette outcomes table
CMRBTl = 153 -- casino master roulette ball table
CMSRRTl = 1348 -- casino master slots random results table
HCVISl1 = 1934 + 1078 -- hangar cargo vip instant sell 1 // Guide: SMOT_HLPDROP2
HCVISl2 = 1934 + 768 -- hangar cargo vip instant sell 2 // Guide: MP_MISSION_COUNTDOWN_SOUNDSET
SCVAl1 = 741 -- special cargo vip appsecuroserv 1 // Guide: MP_WH_SELL
SCVAl2 = 742 -- special cargo vip appsecuroserv 2 // Guide: MP_WH_SELL
SCVAl3 = 560 -- special cargo vip appsecuroserv 3 // Guide: MP_WH_SELL
SCVAl4 = 1138 -- special cargo vip additional 1
SCVAl5 = 598 -- special cargo vip additional 2
SCVAl6 = 1127 -- special cargo vip additional 3
SCVMTl = 545 + 7 -- special cargo vip mission type // Local_545.f_7
SCVISl = 545 + 1 -- special cargo vip instant sell // Local_545.f_1
SCVIBl1 = 603 + 5 -- special cargo vip instant buy 1
SCVIBl2 = 603 + 1 -- special cargo vip instant buy 2
SCVIBl3 = 603 + 191 -- special cargo vip instant buy 3
SCVIBl4 = 603 + 192 -- special cargo vip instant buy 4
NLCl = 181 + 32 + 1 -- night loop collect local
BLWLl = 142 + 747 -- bypass locked weapon livery
--Global Variables--
INT_MAX = 2147483646 -- max integer value
SPACE = "? | ?" -- just space
README = "Read Me" -- just read me
------------------------------------
-- GoldenGetsMenu Scripts --
AMP = "am_mp_peds"
GBCS = "gb_biker_contraband_sell"
FCALS = "fm_content_acid_lab_sell"
-- GoldenGetsMenu Globals 1.69 --
--SCSMg = FMg + 15624 -- Special Cargo Sell Mission global
--VCSMg = FMg + 19100 -- Vehicle Cargo Source Mission global // Tunable: IMPEXP_DISABLE_PARKED_CAR // int *(false)*
--VCPPSRg = FMg + 19170 + 2 -- Vehicle Cargo Payment Price Standard Range global
--VCPPMRg = FMg + 19170 + 1 -- Vehicle Cargo Payment Price Mid Range global
--VCPPTRg = FMg + 19170 -- Vehicle Cargo Payment Price Top Range global
--MCBSDg = FMg + 18764 -- Motorcycle Club Business Supply Delay global // Tunable: BIKER_PURCHASE_SUPPLIES_DELAY // int *(600ms)*
--MCBRCg = FMg + 18763 -- Motorcycle Club Business Resupply Cost global
--MCBSMg = FMg + 18874 -- Motorcycle Club Business Sales Multiplier global
--MCBSg = FMg + 18356 -- Motorcycle Club Business Sell global
--BRCPT = FMg + 21249 -- Bunker Resupply Cost & Produce Time
--BSDg = FMg + 21274 -- Bunker Supply Delay global // Tunable: GR_PURCHASE_SUPPLIES_DELAY // int *(600ms)*
--HASMg = FMg + 22472 -- Hangar Air Sell Mission global
--ASg = FMg + 28751 -- Arcade Safe global
--NGg = FMg + 23948 -- Nightclub Goods global
--NSTCg = FMg + 24074 -- Nightclub Sell Tony's Cut global
--NSMg = FMg + 24047 -- Nightclub Sell Mission global // Tunable: BB_SELL_MISSIONS_WEIGHTING_SINGLE_DROP
--ASCCVC = FMg + 30421 -- Auto Shop Customer Cars Vehicle Cooldown // Tunable: TUNER_AUTO_SHOP_CLIENT_VEH_SPAWN_COOLDOWN_POSIX_TIME // int *(2880ms)*
--ASCCET = FMg + 30427 -- Auto Shop Customer Cars Extra Time // Tunable: TUNER_AUTO_SHOP_STAFF_DELIVERY_TIME_SEC // int *(600ms)*
ASCCC = 1561590376 --FMg + 31869 -- Auto Shop Customer Cars % Chance // Tunable:
--ASCC2LC = FMg + 30423 -- Auto Shop Customer Cars 2 Lifts Cooldown // Tunable: TUNER_AUTO_SHOP_CLIENT_VEH_SPAWN_COOLDOWN_POSIX_TIME_MULTIPLIER // float *(0.500)*
--ASCCDP = FMg + 30428 -- Auto Shop Customer Cars Delivery Payout // Tunable: TUNER_AUTO_SHOP_STAFF_DELIVERY_BONUS_LOW
--ASCCDDP = FMg + 30428 + 3 -- Auto Shop Customer Cars Displayed Delivery Payout // Tunable: TUNER_CLIENT_VEHICLE_DELIVERY_LOW_PAYMENT // int *(20000)*
--VIPWCg = FMg + 13059 -- VIP Work Cooldown global // Tunable: GB_COOLDOWN_UNTIL_NEXT_BOSS_WORK // int *(300000ms)*
--MCWCg = FMg + 18571 -- MC Club Work Cooldown global // int *(180000ms)*
--CEOVCg = FMg + 12813 -- CEO Vehicle Cooldown global // Tunable: GB_CALL_VEHICLE_COOLDOWN // int *(120000ms)*
--VCSCg = FMg + 19077 -- Vehicle Cargo Source Cooldown global // Tunable: IMPEXP_STEAL_COOLDOWN // int *(180000ms)*
--VCSCg1 = FMg + 19153 -- Vehicle Cargo Sell Cooldown global 1 // Tunable: IMPEXP_SELL_COOLDOWN // int *(180000ms)*
--VCSCg2 = FMg + 19432 -- Vehicle Cargo Sell Cooldown global 2 // int_1 *(1200000ms)*
--HCSCg = FMg + 22433 -- Hangar Cargo Source Cooldown global // Tunable: SMUG_STEAL_EASY_COOLDOWN_TIMER // int_1 *(120000ms)*
--HCSCg1 = FMg + 22474 -- Hangar Cargo Sell Cooldown global // int *(180000ms)*
--NSTCg = FMg + 31914 -- Nightclub Source Truck Cooldown global // int *(960000ms)*
--NEMGCg = FMg + 31892 -- Nightclub Export Mixed Goods Cooldown global // Tunable: EXPORT_CARGO_LAUNCH_CD_TIME // int *(2880ms)*
--NTCg = FMg + 31882 -- Nightclub Troublemaker Cooldown global // int *(50%)*
--TBJCg = FMg + 24208 -- Terrorbyte Between Jobs Cooldown global // Tunable: BB_HACKER_WORK_CLIENT_WORK_GLOBAL_COOLDOWN // int *(300000ms)*
--TRIPCg = FMg + 24209 -- Terrorbyte Robbery in Progress Cooldown global // Tunable: BB_HACKER_WORK_CLIENT_WORK_COOLDOWN_BANK_JOB // int *(1800000ms)*
--TDSCg1 = FMg + 24210 -- Terrorbyte Data Sweep Cooldown global // Tunable: BB_HACKER_WORK_CLIENT_WORK_COOLDOWN_DATA_HACK // int *(1800000ms)*
--TTDCg = FMg + 24211 -- Terrorbyte Targeted Data Cooldown global // Tunable: BB_HACKER_WORK_CLIENT_WORK_COOLDOWN_INFILTRATION // int *(1800000ms)*
--TDSCg2 = FMg + 24212 -- Terrorbyte Diamond Shopping Cooldown global // Tunable: BB_HACKER_WORK_CLIENT_WORK_COOLDOWN_JEWEL_STORE_GRAB // int *(1800000ms)*
--??? -- // Tunable: BB_HACKER_WORK_HACKER_CHALLENGE_COOLDOWN_GLOBAL_COOLDOWN // int *(180000ms)*
--TCPCg = FMg + 24214 -- Terrorbyte Collectors Pieces Cooldown global // Tunable: BB_HACKER_WORK_HACKER_CHALLENGE_COOLDOWN_SECURITY_VANS // int *(600000ms)* -- https://www.unknowncheats.me/forum/3496393-post32.html
--TDBCg = FMg + 24215 -- Terrorbyte Deal Breaker Cooldown global // Tunable: BB_HACKER_WORK_HACKER_CHALLENGE_COOLDOWN_TARGET_PURSUIT // int *(600000ms)* -- https://www.unknowncheats.me/forum/3496393-post32.html
--MBRWCg = FMg + 26794 -- Mrs Baker Request Work Cooldown global // Tunable: VC_WORK_REQUEST_COOLDOWN // int *(180000ms)*
--ASCCg = FMg + 31038 -- Agency Security Contract Cooldown global // Tunable: FIXER_SECURITY_CONTRACT_COOLDOWN_TIME // int *(300000ms)*
--APHACg = FMg + 31118 -- Agency Payphone Hit Assassination Cooldown global // Tunable: REQUEST_FRANKLIN_PAYPHONE_HIT_COOLDOWN // int *(600000ms)*
--LWCg1 = FMg + 26746 -- lucky wheel cooldown global 1 -- https://www.unknowncheats.me/forum/3531489-post51.html
--LWCg2 = FMg + 26747 -- lucky wheel cooldown global 2 -- https://www.unknowncheats.me/forum/3531489-post51.html
--SHRg = FMg + 24836 -- Stone Hatchet Rampage global
-- GoldenGetsMenu Locals 1.69 --
SCSIl = 1942640 -- Special Cargo Special Item local
SCUCl = 1942486 -- Special Cargo Unique Cargo local
SCISCAl = 545 + 595 -- Special Cargo Instant Sell Crates Amount local // Local_545.f_595
MCBSTl = 704 + 17 -- Motorcycle Club Business Shipment Type local
MCBISl = 704 + 122 -- Motorcycle Club Business Instant Sell local
ALISDl1 = 5483 + 1358 -- Acid lab Instan Sell Delivery local (10 Delivery Mission) -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALISCl1 = 5483 + 1293 -- Acid lab Instan Sell Complete local (10 Delivery Mission) -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALISDl2 = 5483 + 1299 -- Acid lab Instan Sell Delivery local (1 Delivery Mission) // int *(1260)* -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALISCl2 = 5483 + 1294 -- Acid lab Instan Sell Complete local (1 Delivery Mission) -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALISDl3 = 5483 + 1340 -- Acid lab Instan Sell Delivery local (5 Delivery Mission) -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALISCl3 = 5483 + 1295 -- Acid lab Instan Sell Complete local (5 Delivery Mission) -- https://www.unknowncheats.me/forum/3641612-post76.html -- https://www.unknowncheats.me/forum/3953350-post4478.html
ALMl = 19709 -- Alone Launch Mission local -- https://www.unknowncheats.me/forum/grand-theft-auto-v/463868-modest-menu-lua-scripting-megathread-239.html#google_vignette
ALMl1 = 3526 -- Alone Launch Mission local 1
ALMl2 = 3527 -- Alone Launch Mission local 2
ALMl3 = 3529 -- Alone Launch Mission local 3
ALMl4 = 178821 -- Alone Launch Mission local 4
APSHl = 9775 -- Apartement Pacific Standard Hack local
DWCl = 2685444 + 3078 + 265 -- Dispatch Work Cooldown local
-- GoldenGetsMenu Global Variables --
INT_MAX_TIME = 2000000000 -- max time integer value
INT_MAX_TIME2 = 9999999 -- max time integer value 2
INT_MAX_TIME3 = 99999 -- max time integer value 3
------------------------------------
function SET_PACKED_INT_TUNABLE_GLOBAL(start_hash, end_hash, value)
for i = tunables.set_in(start_hash), tunables.set_in(end_hash) do
globals.set_int(FMg + i, value)
end
end
------------------------------------
function delete_entity(ent) --discord@rostal315
if ENTITY.DOES_ENTITY_EXIST(ent) then
ENTITY.DETACH_ENTITY(ent, true, true)
ENTITY.SET_ENTITY_VISIBLE(ent, false, false)
NETWORK.NETWORK_SET_ENTITY_ONLY_EXISTS_FOR_PARTICIPANTS(ent, true)
ENTITY.SET_ENTITY_COORDS_NO_OFFSET(ent, 0.0, 0.0, -1000.0, false, false, false)
ENTITY.SET_ENTITY_COLLISION(ent, false, false)
ENTITY.SET_ENTITY_AS_MISSION_ENTITY(ent, true, true)
ENTITY.SET_ENTITY_AS_NO_LONGER_NEEDED(ent)
ENTITY.DELETE_ENTITY(ent)
end
end
function request_control(entity) -- CCTV thread
if not NETWORK.NETWORK_HAS_CONTROL_OF_ENTITY(entity) then
local netId = NETWORK.NETWORK_GET_NETWORK_ID_FROM_ENTITY(entity)
NETWORK.SET_NETWORK_ID_CAN_MIGRATE(netId, true)
NETWORK.NETWORK_REQUEST_CONTROL_OF_ENTITY(entity)
end
return NETWORK.NETWORK_HAS_CONTROL_OF_ENTITY(entity)
end
has_bought_something = 1943376
global_computer_type = 1963007
function start_script(script_name, stack_size, script) -- Computer thread
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(script_name)) >= 1 then
return
end
SCRIPT.REQUEST_SCRIPT(script_name)
repeat script:yield() until SCRIPT.HAS_SCRIPT_LOADED(script_name)
SYSTEM.START_NEW_SCRIPT(script_name, stack_size)
SCRIPT.SET_SCRIPT_AS_NO_LONGER_NEEDED(script_name)
script:sleep(100)
if script_name == 'appArcadeBusinessHub' then
while SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(script_name)) >= 1 do
if globals.get_int(global_computer_type) == -1 then
globals.set_int(has_bought_something, 0)
end
script:yield()
end
else
repeat script:yield() until SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(script_name)) == 0
globals.set_int(has_bought_something, 0)
end
end
TransactionManager = {}
TransactionManager.__index = TransactionManager
function TransactionManager:GetCharacter() -- Funds thread
local _, char = STATS.STAT_GET_INT(joaat("MPPLY_LAST_MP_CHAR"), 0, 1)
return tonumber(char)
end
function TransactionManager:GetWalletBalance()
local character = self:GetCharacter()
return MONEY.NETWORK_GET_VC_WALLET_BALANCE(character)
end
function TransactionManager:GetBankBalance()
local character = self:GetCharacter()
return MONEY.NETWORK_GET_VC_BANK_BALANCE(character)
end
transactionManager = setmetatable({}, TransactionManager)
function IS_HELP_MSG_DISPLAYED(label) -- Credit goes to @jerry1234508 on Discord
HUD.BEGIN_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED(label)
return HUD.END_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED(0)
end
------------------------------------
WalletValue = 0
WalletValue = math.min(transactionManager:GetWalletBalance(), WalletValue)
BankValue = 0
BankValue = math.min(transactionManager:GetBankBalance(), BankValue)
CEOCash = tunables.get_int("EXEC_VIP2_BODYGUARD_WAGE_CAP")
CEORP = tunables.get_int("EXEC_VIP2_PROXIMITY_RP_BONUS")
AssociateWages = tunables.get_int("GB_WAGES_AMOUNT")
GoldenGetsMenu:add_imgui(function()
if ImGui.Button("Switch CEO/President") then
if NETWORK.NETWORK_IS_HOST() then
local PlayerCharacter = stats.get_int("MPPLY_LAST_MP_CHAR") --????ID
--playerOrganizationTypeRaw: {Global_1886967[PLAYER::PLAYER_ID() /*609*/].f_10.f_429} GLOBAL
--playerOrganizationType: {('1886967', '*609', '10', '429', '1')} GLOBAL global + (pid *pidmultiplier) + offset + offset + offset (values: 0 = CEO and 1 = MOTORCYCLE CLUB)
if locals_b_get_int(SupportBuild, 1887305 + PlayerCharacter*609 + 10 + 430 + 1) == 0 then --1886967+PlayerCharacter*609+10+429+1 = 0 ?CEO =1??????
locals_v_set_int(SupportBuild, 1887305 + PlayerCharacter*609 + 10 + 430 + 1, 1)
gui.show_message("Switch as a President","Become a President of your own Motorcycle Club")
else
if locals_b_get_int(SupportBuild, 1887305 + PlayerCharacter*609 + 10 + 430 + 1) == 1 then
locals_v_set_int(SupportBuild, 1887305 + PlayerCharacter*609 + 10 + 430 + 1, 0)
gui.show_message("Switch as a CEO","Become a CEO of your own Organization")
else
gui.show_message("You are Not the Boss","You Must Register as a CEO or President")
end
end
else
gui.show_error("GoldenGets Menu - Error","You are not a host in session")
end
end
if ImGui.IsItemHovered() then
ImGui.SetTooltip("May not work in public session")
end
--ImGui.SameLine()
--AutoCEOPresident = ImGui.Checkbox("Auto CEO/President##AutoCEOPresident", AutoCEOPresident)
--if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("Detects the cases that you should become a CEO/MC\nto start some heist/mission, make you one of it.")
--end
--
--BecomeBoss = ImGui.Checkbox("> Become a Boss##BecomeBoss", BecomeBoss)
--if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("Toggle to expand for customize a become a boss")
--end
--if BecomeBoss then
-- BossLimit = ImGui.Checkbox("Disable Boss Limit##BossLimit", BossLimit)
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("While disable boss limits in the session")
-- end
-- CEOCash, drag = ImGui.DragInt("CEO Cash##CEOCash", CEOCash, 100, 10000, 100000)
-- --if drag then
-- -- tunables.set_int("VC_CASINO_CHIP_MAX_BUY", CEOCash)
-- --end
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("CEO wage cap")
-- end
-- CEORP, drag = ImGui.DragInt("CEO RP##CEORP", CEORP, 100, 200, 100000)
-- --if drag then
-- -- tunables.set_int("VC_CASINO_CHIP_MAX_BUY", CEORP)
-- --end
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("CEO Associate RP gain they have to\nbe in your proximity to gain RP.")
-- end
-- AssociateWages, drag = ImGui.DragInt("Associate Wages##AssociateWages", AssociateWages, 100, 10000, 100000)
-- --if drag then
-- -- tunables.set_int("VC_CASINO_CHIP_MAX_BUY", AssociateWages)
-- --end
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("Controls how much your associates get paid")
-- end
-- AssociateWagesTime = ImGui.Checkbox("Disable Associate Wages Time##AssociateWagesTime", AssociateWagesTime)
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("Time between pays")
-- end
-- AssociateWagesRadius = ImGui.Checkbox("Extend Distance Wages##AssociateWagesRadius", AssociateWagesRadius)
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("Your associate has to be in that\nradius to get RP and cash")
-- end
-- AssociateWagesIdle = ImGui.Checkbox("Extend Idle Wages##AssociateWagesIdle", AssociateWagesIdle)
-- if ImGui.IsItemHovered() then
-- ImGui.SetTooltip("They stop getting paid if they stay\nidle for over this amount of time")
-- end
--end
ImGui.SeparatorText("Device Access")
if ImGui.Button("Start Internet##Device") then
script.run_in_fiber(function (script)
start_script('appInternet', 4592, script)
end)
end
ImGui.SameLine()
if NETWORK_SESSION_STARTED() then
if ImGui.Button("Start Arcade Laptop##Device") then
script.run_in_fiber(function (script)
start_script('appArcadeBusiness', 4592, script)
end)
end
if ImGui.IsItemHovered() then
ImGui.SetTooltip("Must be in your arcade interior. If there is a bug, press 'Start Internet'")
end
else
if ImGui.Button("Start Arcade Laptop") then
gui.show_error("GoldenGets - Error","Unavailable in Single Player")
end
end
if ImGui.Button("Instant Hack/Mini Games") then
local local_H4_hack = 24880 --3274 --func_6004(&Local_24880, &(Local_24871[func_389(bParam1, 3) /*2*/]), 0, joaat("heist"), Global_786547.f_1);
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller_2020")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 29700, 6) --3274 --??????????
globals_v_set_float(SupportVersion, "fm_mission_controller_2020", 30939 + 3, 100) --3274 ????????
if locals_v_get_int(SupportVersion, "fm_mission_controller_2020", 30914) == 3 then --?????? --Input_Code_Enter_Correct
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 30915, 2) --3274 --???????
globals_v_set_float(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1, locals_v_get_int(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1 + 1)) --3274 --???????????
globals_v_set_float(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1 + 2, locals_v_get_int(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1 + 1 + 2)) --3274 --???????????
globals_v_set_float(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1 + 4, locals_v_get_int(SupportVersion, "fm_mission_controller_2020", 30915 + 1 + 1 + 1 + 4)) --3274 --???????????
PAD.SET_CONTROL_VALUE_NEXT_FRAME(2, 237, 1.0) --????
end
local_H4_hack_v = locals_v_get_int(SupportVersion, "fm_mission_controller_2020", local_H4_hack) --???finger clone
if (local_H4_hack_v & (1 << 0)) == 0 then
local_H4_hack_v = local_H4_hack_v ~ (1 << 0)
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", local_H4_hack, local_H4_hack_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then --????
globals_v_set_float(SupportVersion, "fm_mission_controller", 10069 + 11, 1) --3274 ??????
locals_v_set_int(SupportVersion, "fm_mission_controller", 10109 + 2, 8) --3274 ??????? DLC_HEIST3\HEIST_FINALE_LASER_DRILL case 8
end
--???????????
local local_H3_hack_1 = 53019 --3274 --func_14102(&Local_52985, &(Local_52920[Local_31603[bLocal_3229 /*292*/].f_27 /*2*/]), 0, joaat("heist"), Global_786547.f_1);
local local_H3_hack_2 = 54085 --3274 --func_14104(&Local_54047, &(Local_53982[Local_31603[bLocal_3229 /*292*/].f_27 /*2*/]), 0, joaat("heist"), Global_786547.f_1);
local local_H3_hack_1_p = 2840 --3274
local local_H3_hack_2_p = 3841 --3274
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then --??????
local_H3_hack_1_v = locals_v_get_int(SupportVersion, "fm_mission_controller", local_H3_hack_1)
if (local_H3_hack_1_v & (1 << 0)) == 0 then
local_H3_hack_1_v = local_H3_hack_1_v ~ (1 << 0)
locals_v_set_int(SupportVersion, "fm_mission_controller", local_H3_hack_1, local_H3_hack_1_v)
end
local_H3_hack_2_v = locals_v_get_int(SupportVersion, "fm_mission_controller", local_H3_hack_2)
if (local_H3_hack_2_v & (1 << 0)) == 0 then
local_H3_hack_2_v = local_H3_hack_2_v ~ (1 << 0)
locals_v_set_int(SupportVersion, "fm_mission_controller", local_H3_hack_2, local_H3_hack_2_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("am_mp_arc_cab_manager")) ~= 0 then --??????-??
local_H3_hack_1_p_v = locals_v_get_int(SupportVersion, "am_mp_arc_cab_manager", local_H3_hack_1_p)
if (local_H3_hack_1_p_v & (1 << 0)) == 0 then
local_H3_hack_1_p_v = local_H3_hack_1_p_v ~ (1 << 0)
locals_v_set_int(SupportVersion, "am_mp_arc_cab_manager", local_H3_hack_1_p, local_H3_hack_1_p_v)
end
local_H3_hack_2_p_v = locals_v_get_int(SupportVersion, "am_mp_arc_cab_manager", local_H3_hack_2_p)
if (local_H3_hack_2_p_v & (1 << 0)) == 0 then
local_H3_hack_2_p_v = local_H3_hack_2_p_v ~ (1 << 0)
locals_v_set_int(SupportVersion, "am_mp_arc_cab_manager", local_H3_hack_2_p, local_H3_hack_2_p_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_mission_controller", 1545, 2) --???-?????(Heist2-Mission1-Prep3:SERVER FARM) GRAPHICS::DRAW_SPRITE("MPHotwire", "failed"
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller_2020")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 1254, 2) --??????? (Bottom Dollar Bail Office Mission) GRAPHICS::DRAW_SPRITE("MPHotwire", "failed"
end
--??voltlab
--[[
if (iLocal_765 == iLocal_764)
{
AUDIO::PLAY_SOUND_FRONTEND(-1, "All_Connected_Correct", uParam1->f_741, true);
}
]]
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller_2020")) ~= 0 then --voltlab????
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 1723, locals_v_get_int(SupportVersion, "fm_mission_controller_2020", 1724)) --3274 --voltlab???????????
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 1725, 3) --3274 ??????
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_island_heist")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_content_island_heist", 766, locals_v_get_int(SupportVersion, "fm_content_island_heist", 767)) --3274 --voltlab???????????
locals_v_set_int(SupportVersion, "fm_content_island_heist", 768, 3) --3274 ??????
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_vehrob_prep")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_content_vehrob_prep", 547, locals_v_get_int(SupportVersion, "fm_content_vehrob_prep", 548)) --3274 --voltlab???????????
locals_v_set_int(SupportVersion, "fm_content_vehrob_prep", 549, 3) --3274 ??????
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("am_mp_arc_cab_manager")) ~= 0 then
locals_v_set_int(SupportVersion, "am_mp_arc_cab_manager", 455, locals_v_get_int(SupportVersion, "am_mp_arc_cab_manager", 456)) --3274 --voltlab???????????
locals_v_set_int(SupportVersion, "am_mp_arc_cab_manager", 457, 3) --3274 ??????
end
--??????????????
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_vehrob_casino_prize")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_content_vehrob_casino_prize", 1045 + 135 , 3) --3274 case 3 Pass_Remote
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_mission_controller", 1271 + 135 , 3) --3274 case 3 Pass_Remote
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller_2020")) ~= 0 then
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 980 + 135 , 3) --3095 case 3 Pass_Remote
end
--??????? CIRC_COMP
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_mission_controller", 11778 + 24 , 7)
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller_2020")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_mission_controller_2020", 9018 + 24 , 7)
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_business_battles")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_content_business_battles", 4101 + 24 , 7)
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_island_heist")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_content_island_heist", 10080 + 24 , 7)
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_vehrob_prep")) ~= 0 then --
locals_v_set_int(SupportVersion, "fm_content_vehrob_prep", 9134 + 24 , 7)
end
--int* iParam0, int iParam1, int iParam2, int iParam3, int iParam4, var uParam5, var uParam6, int iParam7, bool bParam8, bool bParam9, bool bParam10, bool bParam11, bool bParam12, bool bParam13, int iParam14, int iParam15, bool bParam16, bool bParam17, bool bParam18, bool bParam19, bool bParam20, bool bParam21
local minigamelocaltable = {
[1] = {script_name = "agency_heist3b", minigame_local = 6210},
[2] = {script_name = "business_battles_sell", minigame_local = 431},
[3] = {script_name = "fm_content_business_battles", minigame_local = 4101},
[4] = {script_name = "fm_content_island_heist", minigame_local = 10080},
[5] = {script_name = "fm_content_vehrob_casino_prize", minigame_local = 7651 + 2},
[6] = {script_name = "fm_content_vehrob_police", minigame_local = 7511},
[7] = {script_name = "fm_content_vehrob_prep", minigame_local = 9134},
[8] = {script_name = "fm_content_vip_contract_1", minigame_local = 7323},
[9] = {script_name = "fm_mission_controller_2020", minigame_local = 28917},
[10] = {script_name = "fm_mission_controller", minigame_local = 9775},
[11] = {script_name = "gb_cashing_out", minigame_local = 401},
[12] = {script_name = "gb_gunrunning_defend", minigame_local = 2261},
[13] = {script_name = "gb_sightseer", minigame_local = 460},
}
--[12] = {script_name = "gb_casino_heist", minigame_local = }, --Global_2737317
--[12] = {script_name = "gb_casino", minigame_local = }, --Global_2737317
--[12] = {script_name = "gb_gangops", minigame_local = }, --Global_2737317
--[12] = {script_name = "gb_gunrunning", minigame_local = }, --Global_2737317
--[12] = {script_name = "gb_infiltration", minigame_local = }, --Global_2737317
--[12] = {script_name = "gb_smuggler", minigame_local = }, --Global_2737317
--[0] = {script_name = "business_battles", minigame_local = }, --Global_2737317
for i = 1, 13 do
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(minigamelocaltable[i].script_name)) ~= 0 then
minigame_tmp_v = locals_v_get_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local) --3274 -- WINBRUTE
if (minigame_tmp_v & (1 << 9)) == 0 then
minigame_tmp_v = minigame_tmp_v ~ (1 << 9)
locals_v_set_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local, minigame_tmp_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(minigamelocaltable[i].script_name)) ~= 0 then
minigame_tmp_v = locals_v_get_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local) --3274 -- WINIP
if (minigame_tmp_v & (1 << 18)) == 0 then
minigame_tmp_v = minigame_tmp_v ~ (1 << 18)
locals_v_set_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local, minigame_tmp_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(minigamelocaltable[i].script_name)) ~= 0 then
minigame_tmp_v = locals_v_get_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local) --3274 -- --Biolab ?????????? ???? --"Hack_Success", "DLC_HEIST_BIOLAB_PREP_HACKING_SOUNDS"
if (minigame_tmp_v & (1 << 26)) == 0 then
minigame_tmp_v = minigame_tmp_v ~ (1 << 26)
locals_v_set_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local, minigame_tmp_v)
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat(minigamelocaltable[i].script_name)) ~= 0 then
minigame_tmp_v = locals_v_get_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local) --3274 -- --Biolab ?????????? ???? --"Hack_Success", "DLC_HEIST_BIOLAB_PREP_HACKING_SOUNDS"
if (minigame_tmp_v & (1 << 28)) == 0 then
minigame_tmp_v = minigame_tmp_v ~ (1 << 28)
locals_v_set_int(SupportVersion, minigamelocaltable[i].script_name, minigamelocaltable[i].minigame_local, minigame_tmp_v)
end
end
end
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_mission_controller")) ~= 0 then --patch for WINIP
locals_v_set_int(SupportVersion, "fm_mission_controller", 142 , 0)
locals_v_set_int(SupportVersion, "fm_mission_controller", 143 , 0)
locals_v_set_int(SupportVersion, "fm_mission_controller", 158 , 7)
end
minigame_tmp_v2 = globals.get_int(2737663)
if (minigame_tmp_v2 & (1 << 9)) == 0 then
minigame_tmp_v2 = minigame_tmp_v2 ~ (1 << 9)
end
if (minigame_tmp_v2 & (1 << 18)) == 0 then
minigame_tmp_v2 = minigame_tmp_v2 ~ (1 << 18)
end
if (minigame_tmp_v2 & (1 << 26)) == 0 then
minigame_tmp_v2 = minigame_tmp_v2 ~ (1 << 26)
end
globals.set_int(2737663, minigame_tmp_v2)
if SCRIPT.GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH(joaat("fm_content_stash_house")) ~= 0 then --??????
locals_v_set_int(SupportVersion, "fm_content_stash_house", 119 + 1 , 1)
end
end
if ImGui.IsItemHovered() then
ImGui.SetTooltip("Skip all the hacking, fleeca and casino drilling, cayo glass cutting and drainage cut")
end
ImGui.SameLine()
RemoveAllCCTV = ImGui.Checkbox("Remove All CCTV", RemoveAllCCTV)
ImGui.Separator()
if ImGui.BeginTabBar("GoldenGets Menu Tabs") then
--if NETWORK_SESSION_STARTED() then
if ImGui.BeginTabItem("Funds") then
if NETWORK_SESSION_STARTED() then
ImGui.Text("$Wallet: " .. transactionManager:GetWalletBalance())
if ImGui.Button("Deposit All Money To $Bank") then
character = transactionManager:GetCharacter()
wallet = transactionManager:GetWalletBalance()
NETSHOPPING.NET_GAMESERVER_TRANSFER_WALLET_TO_BANK(character, wallet)
end
WalletValue = ImGui.DragInt("##WalletValue", WalletValue, 1, 0, transactionManager:GetWalletBalance())
if ImGui.Button("Deposit Amount") then
character = transactionManager:GetCharacter()
NETSHOPPING.NET_GAMESERVER_TRANSFER_WALLET_TO_BANK(character, WalletValue)
end
ImGui.Text("$Bank: " .. transactionManager:GetBankBalance())
if ImGui.Button("Withdraw All Money To $Wallet") then
character = transactionManager:GetCharacter()
bank = transactionManager:GetBankBalance()
NETSHOPPING.NET_GAMESERVER_TRANSFER_BANK_TO_WALLET(character, bank)
end
BankValue = ImGui.DragInt("##BankValue", BankValue, 1, 0, transactionManager:GetBankBalance())
if ImGui.Button("Withdraw Amount") then
character = transactionManager:GetCharacter()
NETSHOPPING.NET_GAMESERVER_TRANSFER_BANK_TO_WALLET(character, BankValue)
end
else
ImGui.Text("\nUnavailable in Single Player.\n\n")
end
ImGui.EndTabItem()
end
if ImGui.BeginTabItem("Screen") then
if NETWORK_SESSION_STARTED() then
if ImGui.IsItemHovered() then
ImGui.SetTooltip("You must register as a boss, otherwise some mission will not work. If you get a\nblackscreen on exterior, go to Settings > Debug > Misc > 'Remove Black Screen'")
end
if ImGui.Button("Start Master Control Terminal##Computer") then
script.run_in_fiber(function (script)
start_script('appArcadeBusinessHub', 1424, script)
end)
end
if ImGui.TreeNode("CEO Business Screen") then
if ImGui.Button("Start Securo Serv Computer##Computer") then
script.run_in_fiber(function (script)
start_script('appSecuroServ', 1424, script)
end)
end
if ImGui.IsItemHovered() then
ImGui.SetTooltip("Must be in your ceo office interior. It will damage the screen if you buy a warehouse")
end
if ImGui.Button("Start Vehicle Cargo Desktop##Computer") then
script.run_in_fiber(function (script)
start_script('appImportExport', 1424, script)