configAttachment.lua
Only part of the configuration is displayed
config.attachment = {}
config.attachment.enable = true -- adds attachments menu to right click menu
config.attachment.closeWhenInvClosed = true -- closes attachment menu when inventory is closed
config.attachment.location = {
enable = true,
locations = {
{
coords = vector3(19.3139, -1111.2748, 29.7970),
r = 10,
},
{
coords = vector3(-663.6223, -937.1613, 23.4768),
r = 10,
},
{
coords = vector3(810.2000, -2157.3000, 29.6190),
r = 10,
},
{
coords = vector3(1693.4000, 3759.5000, 37.0654),
r = 10,
},
{
coords = vector3(-331.4380, 6083.4717, 33.6701),
r = 10,
},
{
coords = vector3(252.3000, -50.0001, 70.9411),
r = 10,
},
{
coords = vector3(2567.6001, 294.3000, 108.7349),
r = 10,
},
{
coords = vector3(-1117.5000, 2698.6001, 18.5541),
r = 10,
},
{
coords = vector3(842.4000, -1033.4000, 28.1949),
r = 10,
},
{ -- PD
coords = vector3(452.2244, -980.9645, 30.6896),
r = 25,
},
}
}
config.attachment.moneyType = "bank"
config.attachment.enableCommand = true
config.attachment.commandName = "open"
config.attachment.tableSpawnZ = 200
config.attachment.tintItem = "free"
--[[
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