attachmentConfig.lua
Only part of the configuration is displayed
mConfig.attachment = {}
Config.attachment.moneyType = "bank"
Config.attachment.enableCommand = true
Config.attachment.commandName = "open"
Config.attachment.tableSpawnZ = 200
--[[
item: Component Money or Item Name | string or int
Example
item = 500
item = "free"
item = "flashlight"
component: Component Name | string
Example
component = "COMPONENT_SWITCHBLADE_VARMOD_BASE"
default: is component default compent | bool
Example
default = true
default = false
]]
Config.attachment.weaponAttachment = {
--EX ED Weapon
--PD Pistol
["weapon_fiveseven"] = {
["flashlight"] = {
{item = "free", component = "COMPONENT_FIVESEVEN_FLSH_01"},
{item = "free", component = "COMPONENT_FIVESEVEN_FLSH_02"},
{item = "free", component = "COMPONENT_FIVESEVEN_FLSH_03"},
{item = "free", component = "COMPONENT_FIVESEVEN_FLSH_04"},
},
["muzzle"] = {
{item = 500, component = "COMPONENT_FIVESEVEN_SUPP_01"},
{item = 500, component = "COMPONENT_FIVESEVEN_SUPP_02"},
{item = 500, component = "COMPONENT_FIVESEVEN_SUPP_03"},
},
["scope"] = {
{item = "free", component = "COMPONENT_FIVESEVEN_SCOPE_01"},
},
},
["weapon_fm1_glock19"] = {
["magazine"] = {
{item = "free", component = "component_fm1_glock19_clip_01", default = true},
{item = "free", component = "component_fm1_glock19_clip_02"},
},
["flashlight"] = {
{item = "free", component = "COMPONENT_FMFLSH_01"},
{item = "free", component = "COMPONENT_FMFLSH_02"},
{item = "free", component = "COMPONENT_FMFLSH_03"},
{item = "free", component = "COMPONENT_FMFLSH_04"},
{item = "free", component = "COMPONENT_FMFLSH_05"},
},
["muzzle"] = {
{item = 500, component = "COMPONENT_FMSUPP_07"},
{item = 500, component = "COMPONENT_FMSUPP_08"},
{item = 500, component = "COMPONENT_FMSUPP_09"},
{item = 500, component = "component_fmsupp_10"},
{item = 500, component = "COMPONENT_FMSUPP_11"},
{item = "free", component = "COMPONENT_FMSUPP_13"},
},
["scope"] = {
{item = "free", component = "COMPONENT_FMSCOPE_26"},
{item = "free", component = "COMPONENT_FMSCOPE_27"},
{item = "free", component = "COMPONENT_FMSCOPE_28"},
{item = "free", component = "COMPONENT_FMSCOPE_30"},
{item = "free", component = "COMPONENT_FMSCOPE_31"},
{item = "free", component = "COMPONENT_FMSCOPE_32"},
{item = "free", component = "COMPONENT_FMSCOPE_33"},
{item = "free", component = "COMPONENT_FMSCOPE_34"},
{item = "free", component = "COMPONENT_FMSCOPE_35"},
},
},
},
Last updated