This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
/
config.lua
1574 lines (1516 loc) · 46.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
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
Config = {}
Config.Locale = "en"
-- MAIN CONFIG START
Config.framework = 'ESX' -- FRAMEWORK! , "ESX", "QBCORE"
Config.Mysql = 'mysql-async' -- "ghmattisql", "mysql-async", "oxmysql"
Config.renzu_vehicleshopTable = false -- will use exports from vehicleshop vehicles table renzu_vehicleshop/vehicles.lua for pricing and other data.
Config.usePopui = false -- POPUI or Drawmarker Floating Text https://github.com/renzuzu/renzu_popui
Config.showmarker = true -- Drawmarker and FLoating Text
Config.DisableRepair = false -- Disable Repairing before Showing Upgrade Menu
Config.OwnedVehiclesOnly = false -- set this to False if you want to allow modifying of non owned vehicles, AKA local cars, spawned cars
Config.DoNotShowEmptyMods = false -- hide mod menu if no available mod for current vehicle
--JOB
-- Config.job = 'mechanic' -- Default job (job permission if job is not indicated here Config.Customs) -- OBSOLETE , Configure jobs here Config.Customs
Config.DefaultJobGradePermmission = 0 -- default jobgrade in each job shop (ignored if its indicated at Config.VehicleMod)
Config.JobPermissionAll = true -- if this is true only mechanics can access even the upgrade menu (Main Menu)
--JOB
Config.InteractiveFeature = { -- Enable Disable All Extra Features like: Inventory, Stock Room, Paint Room
['garage_inventory'] = true,
['stockroom'] = true,
['paintmenu'] = true,
}
--EXTRA OPTION
Config.PlateSpace = true -- is your plate is ABC 123 format
Config.VehicleValuetoFormula = false -- if true we will calculate the final cost for each upgrades from the original value from vehicles.table ----- ( IF THIS IS FALSE, the fixed value will be used (var cost from vehicle_mods table))
Config.VehicleValuePercent = 0.1 -- 0.1 = 10% 0.5 = 50%, 1.0 = 100% (this will be the formula to calculate the total cost for each upgrade)
Config.VehicleValueList = { -- custom cars that are not exist in vehicles table (vehicles pricing are automatic fetched from DB vehicles table by default)
[1] = {model = 'zentorno', value = 100000},
}
Config.FreeUpgradeToClass = { -- want to have a free upgrade for a selected vehicles class?
[18] = true, -- emergency class , ex. police, ambulance vehicle.
[19] = true, -- military class
}
Config.EnableDiscounts = false -- discount for all jobs and per mods
Config.JobDiscounts = { -- global discount jobs
['mechanic'] = 0.2, -- 0.2 == 20% , 1.0 == 100%
['ambulance'] = 0.1,
['police'] = 0.15,
}
--EXTRA OPTION
-- Main Config END
-- CUSTOM FEATURE CONFIG
Config.UseRenzu_jobs = false -- to have a profits for each upgrades https://github.com/renzuzu/renzu_jobs (This Have Crafting Table, Shop, Vehicle Shop, Garage and more Job Needs!) (NOT AVAILABLE IN QB)
Config.UseRenzu_progressbar = false -- Use Progressbar while repairing a vehicle and maybe more use case in future update https://github.com/renzuzu/renzu_progressbar
Config.PayoutShare = 0.5 -- 0.5 = 50% (how much profit share)
Config.DefaultProp = 'hei_prop_heist_box' -- default prop when carrying a parts
-- if you want CUSTOM ENGINE UPGRADE ,TURBO and TIRES make sure to true this all
Config.UseCustomTurboUpgrade = true -- use renzu_custom Turbo System -- enable disable custom turbo upgrade
Config.useturbosound = true -- use custom BOV Sound for each turbo
Config.turbosoundSync = true -- true = Server Sync Sound? or false = only the driver can hear it
Config.UseCustomEngineUpgrade = true -- enable disable custom engine upgrade
Config.UseCustomTireUpgrade = true -- enable disable custom tires upgrade
Config.RepairCost = 1500 -- repair cost
-- CUSTOM END
-- FAQ
-- RADIUS = SHOP SIZE in radius
-- STOCK ROOM = COMPLETE LIST OF VEHICLE MOD LIST FOR EA VEHICLES IN AREA
-- PAINTMENU = CUSTOM PAINT MENU (SPRAY)
-- SHOPCOORDS = The main and center of the Shop Area
-- MOD.coord = Upgrade Section ( you can insert multiple )
-- garage_inventory = Custom Inventory for VEHICLE MOD PARTS
-- BLIPS = BLIP info sprite , color and scale.
-- grade = minimum job grade to access the feature/ menu/ options
-- Can a single job can owned both/multiple shop? = yes
Config.Customs = { -- Multiple Shop Start
['Bennys'] = { -- Shop id -- Sample bennys (IPL coordinates) Change this to your liking (CHANGE COORDINATES IF CUSTOM BENNYS MAP)
job = 'mechanic', -- job name permmision for this shop
min_grade = 0, -- min grade to access the whole shop feature
radius = 30, -- radius for whole shop
stockroom = {coord = vector4(-227.70811462402,-1322.9874267578,30.890409469604,90.902221679688), grade = 0}, -- vector 4 why the F is this vector4, x,y,z,w (heading)
paintmenu = {coord = vector3(-228.27142333984,-1333.4058837891,30.89038848877), grade = 0},
garage_inventory = {coord = vector4(-200.8703918457,-1317.6979980469,31.089340209961,267.89974975586), grade = 0},
shopcoord = vector4(-212.58630371094,-1325.0119628906,30.89038848877,157.28034973145),
mod = {
{coord = vector4(-224.20236206055,-1329.8156738281,30.21583366394,87.278968811035), taken = false},
{coord = vector4(-213.22569274902,-1331.546875,30.215799331665,356.6969909668), taken = false},
},
Blips = {sprite = 446, color = 68, scale = 0.8},
},
['Custom Garage'] = { -- Shop id -- Custom Map Tuner Garage (2372 Build only, canary and release) IPL and Int https://forum.cfx.re/t/free-mlo-tuner-auto-shop/4247145
job = 'police', -- job name permmision for this shop
min_grade = 0, -- min grade to access the whole shop feature
radius = 30, -- radius for whole shop
stockroom = {coord = vector4(818.46160888672,-969.87396240234,26.10876083374,269.27597045898), grade = 0},
paintmenu = {coord = vector3(809.76037597656,-959.36596679688,26.10876083374), grade = 0},
garage_inventory = {coord = vector4(807.99078369141,-979.44848632812,26.308683395386,165.16065979004), grade = 0},
shopcoord = vector4(818.54309082031,-953.44543457031,26.108730316162,305.57107543945),
mod = {
{coord = vector4(823.82153320312,-944.92102050781,25.440004348755,94.50008392334), taken = false},
{coord = vector4(830.01727294922,-953.10614013672,25.440238952637,97.936683654785), taken = false},
},
Blips = {sprite = 446, color = 68, scale = 0.8},
},
}
-- PAINT COLORS AND INDEX NAME
Config.Metallic = {
['Black'] = 0,
['Carbon Black'] = 147,
['Graphite'] = 1,
['Anhracite Black'] = 11,
['Black Steel'] = 2,
['Dark Steel'] = 3,
['Silver'] = 4,
['Bluish Silver'] = 5,
['Rolled Steel'] = 6,
['Shadow Silver'] = 7,
['Stone Silver'] = 8,
['Midnight Silver'] = 9,
['Cast Iron Silver'] = 10,
['Red'] = 27,
['Torino Red'] = 28,
['Formula Red'] = 29,
['Lava Red'] = 150,
['Blaze Red'] = 30,
['Grace Red'] = 31,
['Garnet Red'] = 32,
['Sunset Red'] = 33,
['Cabernet Red'] = 34,
['Wine Red'] = 143,
['Candy Red'] = 35,
['Hot Pink'] = 135,
['Pfsiter Pink'] = 137,
['Salmon Pink'] = 136,
['Sunrise Orange'] = 36,
['Orange'] = 38,
['Bright Orange'] = 138,
['Gold'] = 99,
['Bronze'] = 90,
['Yellow'] = 88,
['Race Yellow'] = 89,
['Dew Yellow'] = 91,
['Dark Green'] = 49,
['Racing Green'] = 50,
['Sea Green'] = 51,
['Olive Green'] = 52,
['Bright Green'] = 53,
['Gasoline Green'] = 54,
['Lime Green'] = 92,
['Midnight Blue'] = 141,
['Galaxy Blue'] = 61,
['Dark Blue'] = 62,
['Saxon Blue'] = 63,
['Blue'] = 64,
['Mariner Blue'] = 65,
['Harbor Blue'] = 66,
['Diamond Blue'] = 67,
['Surf Blue'] = 68,
['Nautical Blue'] = 69,
['Racing Blue'] = 73,
['Ultra Blue'] = 70,
['Light Blue'] = 74,
['Chocolate Brown'] = 96,
['Bison Brown'] = 101,
['Creeen Brown'] = 95,
['Feltzer Brown'] = 94,
['Maple Brown'] = 97,
['Beechwood Brown'] = 103,
['Sienna Brown'] = 104,
['Saddle Brown'] = 98,
['Moss Brown'] = 100,
['Woodbeech Brown'] = 102,
['Straw Brown'] = 99,
['Sandy Brown'] = 105,
['Bleached Brown'] = 106,
['Schafter Purple'] = 71,
['Spinnaker Purple'] = 72,
['Midnight Purple'] = 142,
['Bright Purple'] = 145,
['Cream'] = 107,
['Ice White'] = 111,
['Frost White'] = 112,
}
Config.Matte = {
['Black'] = 12,
['Gray'] = 13,
['Light Gray'] = 14,
['Ice White'] = 131,
['Blue'] = 83,
['Dark Blue'] = 82,
['Midnight Blue'] = 84,
['Midnight Purple'] = 149,
['Schafter Purple'] = 148,
['Red'] = 39,
['Dark Red'] = 40,
['Orange'] = 41,
['Yellow'] = 42,
['Lime Green'] = 55,
['Green'] = 128,
['Forest Green'] = 151,
['Foliage Green'] = 155,
['Olive Darb'] = 152,
['Dark Earth'] = 153,
['Desert Tan'] = 154,
}
Config.Metals = {
['Brushed Steel'] = 117,
['Brushed Black Steel'] = 118,
['Brushed Aluminum'] = 119,
['Pure Gold'] = 158,
['Brushed Gold'] = 159,
}
Config.Chameleon = { -- labels to be followed
[' RED ORANGE FLIP'] = 190,
[' ANOD PURPLE'] = 163,
[' TURQ PURP FLIP'] = 178,
[' MAGEN CYAN FLIP'] = 187,
[' PURP GREEN FLIP'] = 183,
[' BLACK PRISMA'] = 218,
[' YKTA CHRISTMAS'] = 237,
[' YKTA NITE DAY'] = 224,
[' YKTA FOUR SEASO'] = 229,
[' CREAM PEARL'] = 210,
[' RED PRISMA'] = 216,
[' GREEN BLUE FLIP'] = 171,
[' YKTA MONOCHROME'] = 223,
[' YKTA THE SEVEN'] = 234,
[' RAINBOW PRISMA'] = 220,
[' ORANG BLUE FLIP'] = 192,
[' DARKTEALPEARL'] = 197,
[' YKTA VERLIERER2'] = 225,
[' OIL SLIC PRISMA'] = 219,
[' YKTA M9 THROWBA'] = 230,
[' YKTA FUBUKI'] = 242,
[' DARKBLUEPEARL'] = 198,
[' WHITE HOLO'] = 222,
[' ANOD WINE'] = 162,
[' ANOD BRONZE'] = 168,
[' LIT BLUE PEARL'] = 202,
[' ANOD RED'] = 161,
[' GREEN PURP FLIP'] = 175,
[' GREEN TURQ FLIP'] = 174,
[' BLUE GREEN FLIP'] = 181,
[' LIT PURP PEARL'] = 203,
[' LIT PINK PEARL'] = 204,
[' GREEN BROW FLIP'] = 173,
[' YKTA ELECTRO'] = 240,
[' TEAL PURP FLIP'] = 176,
[' GREEN PRISMA'] = 217,
[' YKTA SYNTHWAVE'] = 228,
[' BLUE PEARL'] = 209,
[' YELLOW PEARL'] = 207,
[' DARKBLUEPRISMA'] = 213,
[' OIL SLICK PEARL'] = 200,
[' DARKGREENPEARL'] = 196,
[' ANOD COPPER'] = 167,
[' GREEN PEARL'] = 208,
[' ORANG PURP FLIP'] = 191,
[' ANOD GOLD'] = 170,
[' DARKPURPPRISMA'] = 214,
[' WHITE PRISMA'] = 211,
[' TURQ RED FLIP'] = 177,
[' CYAN PURP FLIP'] = 179,
[' MAGEN ORAN FLIP'] = 189,
[' MAGEN GREE FLIP'] = 184,
[' DARKPURPLEPEARL'] = 199,
[' YKTA FULL RBOW'] = 232,
[' ANOD GREEN'] = 165,
[' PURP RED FLIP'] = 182,
[' WHITE PURP FLIP'] = 193,
[' HOT PINK PRISMA'] = 215,
[' YKTA BUBBLEGUM'] = 231,
[' MAGEN YELL FLIP'] = 185,
[' BLUE PINK FLIP'] = 180,
[' BURG GREEN FLIP'] = 186,
[' LIT GREEN PEARL'] = 201,
[' ANOD LIME'] = 166,
[' OFFWHITE PRISMA'] = 205,
[' RED RAINBO FLIP'] = 194,
[' COPPE PURP FLIP'] = 188,
[' YKTA HSW'] = 239,
[' ANOD CHAMPAGNE'] = 169,
[' YKTA KAMENRIDER'] = 235,
[' YKTA MONIKA'] = 241,
[' YKTA SPRUNK EX'] = 226,
[' YKTA VICE CITY'] = 227,
[' BLACK HOLO'] = 221,
[' BLU RAINBO FLIP'] = 195,
[' GRAPHITE PRISMA'] = 212,
[' GREEN RED FLIP'] = 172,
[' PINK PEARL'] = 206,
[' YKTA SUNSETS'] = 233,
[' ANOD BLUE'] = 164,
[' YKTA CHROMABERA'] = 236,
[' YKTA TEMPERATUR'] = 238,
}
allcolors = {}
for k,v in pairs(Config.Metallic) do
allcolors[k] = v
end
for k,v in pairs(Config.Matte) do
allcolors[k] = v
end
for k,v in pairs(Config.Metals) do
allcolors[k] = v
end
Config.Crome = {['Crome'] = 120}
-- VEHICLE MODS , you can change parts value / cost here
-- FAQ
-- multicost = if true cost will multiple the level from the original cost
-- camera angles (you can customize this as i dont have a proper test to perfect the angles yet)
-- type = Menu Main title
-- bone = bone target for camera (obsolete)
-- index = MOD index name
-- cost = the cost of vehicle mod in all lvls (unless multicost)
-- job_grade = MINIMUM job_grade lvl permmision to access the upgrade type (if no indicated, Config.DefaultJobGradePermmission will be used as default) (THIS WILL ONLY WORK if Config.JobPermissionAll = true)
-- discount = This is Persistent config!, it means Config.JobDiscounts will be ignored as long as this job ex. mechanic is here and job ex. mechanic is in Config.JobDiscounts too. , any unlisted jobs here will be using the default listed here Config.JobDiscounts (if its registered)
Config.VehicleMod = {
----------Liveries--------
[48] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 1.0, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Liveries',
name = 'liveries',
index = 48,
cost = 15000,
percent_cost = 7,
bone = 'chassis',
type = 'Exterior',
camera = {val = 'front', x = -2.1, y = 0.6,z = 1.1},
},
----------Windows--------
[46] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Windows',
name = 'windows',
index = 46,
cost = 15000,
percent_cost = 2,
bone = 'window_lf1',
camera = {val = 'right', x = 0.8, y = 0.8,z = 0.8},
type = 'Exterior',
},
----------Tank--------
[45] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Intercooler',
name = 'tank',
index = 45,
cost = 15000,
percent_cost = 4,
bone = 'chassis',
type = 'Exterior',
camera = {val = 'front', x = 0.2, y = 0.3,z = 0.1},
},
----------Trim--------
[44] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Trim',
name = 'trim',
index = 44,
cost = 15000,
percent_cost = 2,
bone = 'boot',
camera = {val = 'middle', x = 2.1, y = 2.1,z = -0.1},
type = 'cosmetic',
},
----------Aerials--------
[43] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Aerials',
name = 'aerials',
index = 42,
cost = 15000,
percent_cost = 2,
camera = {val = 'front', x = 0.5, y = 0.6,z = 0.4},
type = 'cosmetic',
},
----------Arch cover--------
[42] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Arch cover',
name = 'archcover',
index = 42,
cost = 15000,
percent_cost = 2.5,
bone = 'engine',
action = 'openhood',
action = 'openhood',
type = 'cosmetic',
},
----------Struts--------
[41] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Struts',
name = 'struts',
index = 41,
cost = 15000,
percent_cost = 2.5,
bone = 'engine',
action = 'openhood',
type = 'Performance Parts',
},
----------Air filter--------
[40] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Air filter',
name = 'airfilter',
index = 40,
cost = 15000,
percent_cost = 3.5,
bone = 'engine',
action = 'openhood',
type = 'Performance Parts',
},
----------Engine block--------
[39] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Engine block',
name = 'engineblock',
index = 39,
cost = 15000,
percent_cost = 3.5,
bone = 'engine',
action = 'openhood',
type = 'Performance Parts',
},
----------Hydraulics--------
[38] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Hydraulics',
name = 'hydraulics',
index = 38,
cost = 15000,
percent_cost = 7,
bone = 'wheel_rf',
type = 'cosmetic',
},
----------Trunk--------
[37] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Trunk',
name = 'trunk',
index = 37,
cost = 15000,
percent_cost = 4,
type = 'Exterior',
bone = 'boot',
camera = {val = 'back', x = 0.5, y = -1.6,z = 1.3},
prop = 'imp_prop_impexp_trunk_01a',
},
----------Speakers--------
[36] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Speakers',
name = 'speakers',
index = 36,
cost = 15000,
percent_cost = 3,
bone = 'door_dside_f',
type = 'Interior',
},
----------Plaques--------
[35] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Plaques',
name = 'plaques',
index = 35,
cost = 15000,
percent_cost = 3,
camera = {val = 'left', x = -0.2, y = -0.5,z = 0.9},
bone = 'steeseat_dside_fring',
type = 'Interior',
},
----------Shift leavers--------
[34] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Shift leavers',
name = 'shiftleavers',
index = 34,
camera = {val = 'left', x = -0.2, y = -0.5,z = 0.9},
bone = 'steeseat_dside_fring',
cost = 15000,
percent_cost = 3,
type = 'Interior',
},
----------Steeringwheel--------
[33] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Steeringwheel',
name = 'steeringwheel',
index = 33,
bone = 'seat_dside_f',
cost = 15000,
percent_cost = 3,
camera = {val = 'left', x = -0.2, y = -0.5,z = 0.9},
type = 'Interior',
},
----------Seats--------
[32] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Seats',
name = 'seats',
index = 32,
cost = 15000,
percent_cost = 5,
type = 'Interior',
bone = 'seat_dside_f',
prop = 'prop_car_seat',
},
----------Door speaker--------
[31] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Door speaker',
name = 'doorspeaker',
index = 31,
percent_cost = 3,
bone = 'door_dside_f',
cost = 15000,
type = 'Interior',
},
----------Dial--------
[30] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Dial',
name = 'dial',
index = 30,
cost = 15000,
percent_cost = 3,
bone = 'seat_dside_f',
camera = {val = 'left', x = -0.2, y = -0.5,z = 0.9},
type = 'Interior',
},
----------Dashboard--------
[29] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Dashboard',
name = 'dashboard',
index = 29,
cost = 15000,
percent_cost = 5,
bone = 'seat_dside_f',
type = 'interior',
},
----------Ornaments--------
[28] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Ornaments',
name = 'ornaments',
index = 28,
cost = 15000,
percent_cost = 4,
bone = 'seat_dside_f',
type = 'cosmetic',
},
----------Trim--------
[27] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Trim',
name = 'trim',
index = 27,
cost = 15000,
percent_cost = 3,
bone = 'bumper_f',
type = 'cosmetic',
},
----------Vanity plates--------
[26] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Vanity plates',
name = 'vanityplates',
index = 26,
cost = 15000,
percent_cost = 2,
bone = 'exhaust',
camera = {val = 'front', x = 0.1, y = 0.6,z = 0.4},
type = 'cosmetic',
prop = 'p_num_plate_01',
},
----------Plate holder--------
[25] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Plate holder',
name = 'plateholder',
index = 25,
cost = 15000,
percent_cost = 3,
bone = 'exhaust',
camera = {val = 'front', x = 0.1, y = 0.6,z = 0.4},
type = 'cosmetic',
},
---------Back Wheels---------
[24] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Back Wheels',
name = 'backwheels',
index = 24,
cost = 15000,
percent_cost = 4,
type = 'Wheel Parts',
camera = {val = 'middle', x = 2.1, y = 2.1,z = -0.1},
bone = 'wheel_lr',
prop = 'imp_prop_impexp_wheel_03a',
},
---------Front Wheels---------
[23] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Front Wheels',
name = 'frontwheels',
index = 23,
cost = 15000,
percent_cost = 5,
bone = 'wheel_rf',
type = 'Wheel Parts',
camera = {val = 'middle', x = 2.1, y = 2.1,z = -0.1},
prop = 'imp_prop_impexp_wheel_03a',
list = {WheelType = {Sport = 0, Muscle = 1, Lowrider = 2, SUV = 3, Offroad = 4,Tuner = 5, BikeWheel = 6, HighEnd = 7 , BennysWheel = 8, BespokeWheel = 9, Dragster = 10, Street = 11 } , WheelColor = allcolors, Accessories = { CustomTire = 1, BulletProof = 1, SmokeColor = 1, DriftTires = 1} } -- BennysWheel = 8, BespokeWheel = 9
},
---------Headlights---------
[22] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Headlights',
name = 'headlights',
index = 22,
cost = 15000,
percent_cost = 3,
bone = 'headlight_r',
type = 'cosmetic',
prop = 'v_ind_tor_bulkheadlight',
},
----------Turbo---------
[18] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Turbo',
name = 'turbo',
index = 18,
cost = 15000,
percent_cost = 20,
bone = 'engine',
type = 'Performance Parts',
list = {Default = 0, Turbo = 1}
},
-----------Armor-------------
[16] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Armor',
name = 'armor',
index = 16,
cost = 15000,
percent_cost = 25,
bone = 'bodyshell',
multicostperlvl = true,
type = 'Shell',
},
---------Suspension-----------
[15] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Suspension',
name = 'suspension',
index = 15,
cost = 15000,
percent_cost = 6,
bone = 'wheel_rf',
multicostperlvl = true,
type = 'Performance Parts',
},
-----------Horn----------
[14] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Horn',
name = 'horn',
index = 14,
cost = 15000,
percent_cost = 3,
bone = 'bumper_f',
camera = {val = 'middle', x = 2.1, y = 2.1,z = -0.1},
type = 'cosmetic',
},
-----------Transmission-------------
[13] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Transmission',
name = 'transmission',
index = 13,
cost = 15000,
percent_cost = 8,
bone = 'engine',
multicostperlvl = true,
type = 'Performance Parts',
prop = 'imp_prop_impexp_gearbox_01',
},
-----------Brakes-------------
[12] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%
},
label = 'Brakes',
name = 'brakes',
index = 12,
cost = 15000,
percent_cost = 5,
bone = 'wheel_rf',
multicostperlvl = true,
type = 'Performance Parts',
prop = 'imp_prop_impexp_brake_caliper_01a',
},
------------Engine----------
[11] = {
job_grade = { -- default job grade to access this Upgrade Feature (this option will work only if Config.JobPermissionAll is true
['mechanic'] = 0,
['police'] = 0,-- police is sample only change this!
},
discount = {
['mechanic'] = 0.2, -- 20%
['ambulance'] = 0.1, -- 10%
['police'] = 0.15, -- 15%