-- ตัวอย่างการกำหนดค่าอาวุธ
Config.Weapons['WEAPON_BAT'] = {
label = "ไม้เบสบอล",
hash = joaat('WEAPON_BAT'),
tints = Config.DefaultWeaponTints,
components = {
},
ammo = {
hash = nil,
label = nil
}
}
Config.Weapons['WEAPON_PISTOL'] = {
label = "ปืนพก",
hash = joaat('WEAPON_PISTOL'),
tints = Config.DefaultWeaponTints,
components = {
['clip_default'] = {
hash = joaat('COMPONENT_PISTOL_CLIP_01'),
label = "แมกกาซีนปืนพก"
},
['clip_extended'] = {
hash = joaat('COMPONENT_PISTOL_CLIP_02'),
label = "แมกกาซีนใหญ่ปืนพก"
},
['flashlight'] = {
hash = joaat('COMPONENT_AT_PI_FLSH'),
label = "ไฟฉายปืนพก"
},
['suppressor'] = {
hash = joaat('COMPONENT_AT_PI_SUPP_02'),
label = "ที่เก็บเสียงปืนพก"
},
['luxary_finish'] = {
hash = joaat('COMPONENT_PISTOL_VARMOD_LUXE'),
label = "เครื่องประดับปืนพก"
}
},
ammo = {
hash = joaat('AMMO_PISTOL'),
label = "กระสุนปืนพก"
}
}