forked from MrZainRP/mz-skills
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
156 lines (141 loc) · 5.09 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
Config = {}
-------------
--MZ-SKILLS--
-------------
Config.UpdateFrequency = 300 -- Seconds interval between removing values (no need to touch this)
Config.Notifications = true -- Notification played when skill is added (set to "false" to disable)
Config.NotifyType = 'qb' -- Notification type: 'qb' for QBCore notification, 'okok' for okokNotify
Config.Debug = false -- Set to "true" to print debugging messages
Config.UseOxMenu = false -- set to "true" to use ox_lib menu instead of qb-menu
-- if "Config.UseOxMenu = true", then the following parameters apply:
Config.XPBarColour = "cyan" -- Change the colour of your XP Bar.
Config.SkillsTitle = "MZ-SKILLS" -- Change this to label your skill system as you see fit.
Config.XPMenuPosition = 'top-left' -- Change the position of your XP menu ('top-left' or 'top-right' or 'bottom-left' or 'bottom-right')
Config.TypeCommand = true -- Set to "false" to disable the "/skills" command (or whatever word you set in the next function)
Config.Skillmenu = "habilidades" -- phrase typed to display skills menu (check readme.md to set to commit to radial menu)
---------------------
--GTA NATIVE SKILLS--
---------------------
Config.B1Natives = true -- Change to "true" to use B1-skillz native functions as well as mz-skills
-- Please make sure you uncomment the "GTA NATIVE SKILLS" set out below.
-- To do so highlight all relevant lines of code and hold down "ctrl" + "k" and then press "u".
-------------
--RP SKILLS--
-------------
-- Please feel free to add/subtract the skills you are using in your city as you see fit.
-- Please avoid taking skills away after players have already started accumulating XP.
-- The following skills which appear in this default list are used by one or more mz- resources.
Config.Skills = {
["Busqueda"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "BINDIVE_ABILITY",
['icon'] = 'fas fa-trash',
},
["Scraping"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "SCRAP_ABILITY",
['icon'] = 'fas fa-screwdriver',
},
["Hacking"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HACK_ABILITY",
['icon'] = 'fas fa-laptop-code',
},
["Reputacion de la calle"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRUGREP_ABILITY",
['icon'] = 'fas fa-cannabis',
},
["Creacion de drogas"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRUGMAKE_ABILITY",
['icon'] = 'fas fa-pills',
},
["Entrega"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "RUNNER_ABILITY",
['icon'] = 'fas fa-car',
},
["Hitman"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HITMAN_ABILITY",
['icon'] = 'fas fa-skull',
},
["Conduccion"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DRIVER_ABILITY",
['icon'] = 'fas fa-car-alt',
},
["Leñador"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "TREE_ABILITY",
['icon'] = 'fas fa-tree',
},
["Reputacion atracos"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "HEIST_ABILITY",
['icon'] = 'fa-solid fa-user-secret',
},
["Buceo"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "DIVING_ABILITY",
['icon'] = 'fas fa-water',
},
["Electrico"] = {
["Current"] = 0,
["RemoveAmount"] = 0,
["Stat"] = "ELECTRICAL_ABILITY",
['icon'] = 'fas fa-bolt',
},
---------------------
--GTA NATIVE SKILLS--
---------------------
-- PLEASE NOTE: THE FOLLOWING VALUES SHOULD ONLY BE UNCOMMENTED IF Config.B1Natives = true.
["Stamina"] = {
["Current"] = 0, -- Default value
["RemoveAmount"] = -0.3, -- % to remove when updating,
["Stat"] = "MP0_STAMINA", -- GTA stat hashname
['icon'] = 'fas fa-walking',
},
["Fuerza"] = {
["Current"] = 0,
["RemoveAmount"] = -0.3,
["Stat"] = "MP0_STRENGTH",
['icon'] = 'fas fa-dumbbell',
},
["Capacidad Pulmonar"] = {
["Current"] = 0,
["RemoveAmount"] = -0.1,
["Stat"] = "MP0_LUNG_CAPACITY",
['icon'] = 'fas fa-heartbeat',
},
["Disparo"] = {
["Current"] = 0,
["RemoveAmount"] = -0.1,
["Stat"] = "MP0_SHOOTING_ABILITY",
['icon'] = 'fas fa-bullseye',
},
["Conduccion"] = {
["Current"] = 0,
["RemoveAmount"] = -0.5,
["Stat"] = "MP0_DRIVING_ABILITY",
['icon'] = 'fas fa-car-side',
},
["Caballito"] = {
["Current"] = 0,
["RemoveAmount"] = -0.2,
["Stat"] = "MP0_WHEELIE_ABILITY",
['icon'] = 'fas fa-wheelchair',
},
}