[Tutorial] GTA V Weapon Data

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

ZaraZa

Administrator
Administrator
Joined
Feb 18, 2019
Messages
184
Credits
290
Information library about the game's weapons.

Contains

  • Weapon Hash
  • Weapon Hash Key (you can use this with joaat functions to generate hash)
  • Weapon Name GXT (game text, use with getLabelText to get localized string)
  • Weapon Description GXT (game text, use with getLabelText to get localized string)
  • Weapon Name (in English)
  • Weapon Description (in English)
  • Weapon Group
  • Weapon Model Hash Key (this is the model you can spawn as a prop, use with joaat functions to generate hash)
  • Weapon Default Clip Size
  • Weapon Ammo Type (won't exist if the weapon doesn't have an ammo type)
  • Weapon Components
  • --> Component Hash
  • --> Component Hash Key (you can use this with joaat functions to generate hash)
  • --> Component Name GXT (game text, use with getLabelText to get localized string)
  • --> Component Description GXT (game text, use with getLabelText to get localized string)
  • --> Component Name (in English)
  • --> Component Description (in English)
  • --> Component Model Hash Key (this is the model you can spawn as a prop, use with joaat functions to generate hash)
  • --> Component Ammo Type (won't exist if the component doesn't have an ammo type)
  • --> Component Is Default
  • Weapon Tints
  • --> Tint Name GXT (game text, use with getLabelText to get localized string)
  • --> Tint Name (in English)
  • Weapon Livery Colors
  • --> Livery Color GXT (game text, use with getLabelText to get localized string)
  • --> Livery Color Name (in English)
  • Weapon DLC Name (mpgunrunning etc., this will be "core" for stock weapons)
Example:
"1593441988": {
"HashKey": "WEAPON_COMBATPISTOL",
"NameGXT": "WT_PIST_CBT",
"DescriptionGXT": "WTD_PIST_CBT",
"Name": "Combat Pistol",
"Description": "A compact, lightweight, semi-automatic pistol designed for law enforcement and personal defense. 12-round magazine with option to extend to 16 rounds.",
"Group": "GROUP_PISTOL",
"ModelHashKey": "W_PI_COMBATPISTOL",
"DefaultClipSize": 12,
"AmmoType": "AMMO_PISTOL",
"Components": {
"119648377": {
"HashKey": "COMPONENT_COMBATPISTOL_CLIP_01",
"NameGXT": "WCT_CLIP1",
"DescriptionGXT": "WCD_CP_CLIP1",
"Name": "Default Clip",
"Description": "Standard capacity for Combat Pistol.",
"ModelHashKey": "w_pi_combatpistol_mag1",
"IsDefault": true
},
"3598405421": {
"HashKey": "COMPONENT_COMBATPISTOL_CLIP_02",
"NameGXT": "WCT_CLIP2",
"DescriptionGXT": "WCD_CP_CLIP2",
"Name": "Extended Clip",
"Description": "Extended capacity for Combat Pistol.",
"ModelHashKey": "w_pi_combatpistol_mag2",
"IsDefault": false
},
"899381934": {
"HashKey": "COMPONENT_AT_PI_FLSH",
"NameGXT": "WCT_FLASH",
"DescriptionGXT": "WCD_FLASH",
"Name": "Flashlight",
"Description": "Aids low light target acquisition.",
"ModelHashKey": "w_at_pi_flsh",
"IsDefault": false
},
"3271853210": {
"HashKey": "COMPONENT_AT_PI_SUPP",
"NameGXT": "WCT_SUPP",
"DescriptionGXT": "WCD_PI_SUPP",
"Name": "Suppressor",
"Description": "Reduces noise and muzzle flash.",
"ModelHashKey": "w_at_pi_supp",
"IsDefault": false
},
"3328527730": {
"HashKey": "COMPONENT_COMBATPISTOL_VARMOD_LOWRIDER",
"NameGXT": "WCT_VAR_GOLD",
"DescriptionGXT": "WCD_VAR_CBP",
"Name": "Yusuf Amir Luxury Finish",
"Description": "",
"ModelHashKey": "w_pi_combatpistol_luxe",
"IsDefault": false
}
},
"Tints": [
{
"NameGXT": "WM_TINT0",
"Name": "Black tint"
},
{
"NameGXT": "WM_TINT1",
"Name": "Green tint"
},
{
"NameGXT": "WM_TINT2",
"Name": "Gold tint"
},
{
"NameGXT": "WM_TINT3",
"Name": "Pink tint"
},
{
"NameGXT": "WM_TINT4",
"Name": "Army tint"
},
{
"NameGXT": "WM_TINT5",
"Name": "LSPD tint"
},
{
"NameGXT": "WM_TINT6",
"Name": "Orange tint"
},
{
"NameGXT": "WM_TINT7",
"Name": "Platinum tint"
}
],
"LiveryColors": [],
"DLC": "core"
}

Notes
  • The information was generated using game files, if there are mistakes feel free to report them.
Full:
 
Back
Top