configRealisticArmor.lua
--[[
To ensure the system works, add the default item list to the items.lua file or configure the settings below. Make sure the item is unique and usable.
t_armor_heavy = { name = 't_armor_heavy', label = 'Heavy Armor', weight = 100, type = 'item', image = 't_armor_heavy.png', unique = true, useable = true, shouldClose = true, description = '' },
t_armor_light = { name = 't_armor_light', label = 'Light Armor', weight = 100, type = 'item', image = 't_armor_light.png', unique = true, useable = true, shouldClose = true, description = '' },
]]
config.realisticArmor = {
active = true, -- If set to `true`, this system will be activated.
items = {
t_armor_heavy = { -- Item name
armor = 100, -- The armor value that will be added when the player equips armor.
progressbar = {
active = true, -- If set to `true`, a progress bar will be displayed when the player equips armor.
label = "wearingArmor", -- u can change from language file
time = 1500, -- Progress bar time
anims = {
animDict = "missmic4",
anim = "michael_tux_fidget",
flags = 49,
},
disables = {
disableMovement = false,
disableCarMovement = true,
disableMouse = false,
disableCombat = true,
}
}
},
t_armor_light = {
armor = 50,
progressbar = {
active = true,
label = "wearingArmor", -- u can change from language file
time = 1500,
anims = {
animDict = "missmic4",
anim = "michael_tux_fidget",
flags = 49,
},
disables = {
disableMovement = false,
disableCarMovement = true,
disableMouse = false,
disableCombat = true,
}
}
}
}
}
Last updated