Advertisement
MiaMyLove

SunShineSilver.mdA

Mar 30th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.07 KB | None | 0 0
  1. if (WEAPON::GET_CURRENT_PED_WEAPON(ped, &weaponHash, 1)) {
  2.                 char* weaponName;
  3.                 if (weaponHash == 0xA2719263) { weaponName = "Unarmed"; }
  4.                 else if (weaponHash == 0xFBAB5776) { weaponName = "Parachute"; }
  5.                 else if (weaponHash == 0x99B507EA) { weaponName = "Knife"; }
  6.                 else if (weaponHash == 0x8BB05FD7) { weaponName = "Flashlight"; }
  7.                 else if (weaponHash == 0xCD274149) { weaponName = "Battle Axe"; }
  8.                 else if (weaponHash == 0x94117305) { weaponName = "Pool Cue"; }
  9.                 else if (weaponHash == 0xF9DCBF2D) { weaponName = "Hatchet"; }
  10.                 else if (weaponHash == 0xDD5DF8D9) { weaponName = "Machete"; }
  11.                 else if (weaponHash == 0x19044EE0) { weaponName = "Pipe Wrench"; }
  12.                 else if (weaponHash == 0xDFE37640) { weaponName = "Switchblade"; }
  13.                 else if (weaponHash == 0x678B81B1) { weaponName = "Nightstick"; }
  14.                 else if (weaponHash == 0x4E875F73) { weaponName = "Hammer"; }
  15.                 else if (weaponHash == 0x958A4A8F) { weaponName = "Bat"; }
  16.                 else if (weaponHash == 0x440E4788) { weaponName = "GolfClub"; }
  17.                 else if (weaponHash == 0x84BD7BFD) { weaponName = "Crowbar"; }
  18.                 else if (weaponHash == 0x1B06D571) { weaponName = "Pistol"; }
  19.                 else if (weaponHash == 0x5EF9FEC4) { weaponName = "Combat Pistol"; }
  20.                 else if (weaponHash == 0x22D8FE39) { weaponName = "AP Pistol"; }
  21.                 else if (weaponHash == 0x99AEEB3B) { weaponName = "Pistol 50"; }
  22.                 else if (weaponHash == 0x13532244) { weaponName = "Micro SMG"; }
  23.                 else if (weaponHash == 0x2BE6766B) { weaponName = "SMG"; }
  24.                 else if (weaponHash == 0xEFE7E2DF) { weaponName = "Assault SMG"; }
  25.                 else if (weaponHash == 0xBFEFFF6D) { weaponName = "Assault Riffle"; }
  26.                 else if (weaponHash == 0x83BF0278) { weaponName = "Carbine Riffle"; }
  27.                 else if (weaponHash == 0xAF113F99) { weaponName = "Advanced Riffle"; }
  28.                 else if (weaponHash == 0x9D07F764) { weaponName = "MG"; }
  29.                 else if (weaponHash == 0x7FD62962) { weaponName = "Combat MG"; }
  30.                 else if (weaponHash == 0x1D073A89) { weaponName = "Pump Shotgun"; }
  31.                 else if (weaponHash == 0x7846A318) { weaponName = "Sawed-Off Shotgun"; }
  32.                 else if (weaponHash == 0xE284C527) { weaponName = "Assault Shotgun"; }
  33.                 else if (weaponHash == 0x9D61E50F) { weaponName = "Bullpup Shotgun"; }
  34.                 else if (weaponHash == 0x3656C8C1) { weaponName = "Stun Gun"; }
  35.                 else if (weaponHash == 0x05FC3C11) { weaponName = "Sniper Rifle"; }
  36.                 else if (weaponHash == 0x0C472FE2) { weaponName = "Heavy Sniper"; }
  37.                 else if (weaponHash == 0xA284510B) { weaponName = "Grenade Launcher"; }
  38.                 else if (weaponHash == 0x4DD2DC56) { weaponName = "Smoke Grenade Launcher"; }
  39.                 else if (weaponHash == 0xB1CA77B1) { weaponName = "RPG"; }
  40.                 else if (weaponHash == 0x42BF8A85) { weaponName = "Minigun"; }
  41.                 else if (weaponHash == 0x93E220BD) { weaponName = "Grenade"; }
  42.                 else if (weaponHash == 0x2C3731D9) { weaponName = "Sticky Bomb"; }
  43.                 else if (weaponHash == 0xFDBC8A50) { weaponName = "Smoke Grenade"; }
  44.                 else if (weaponHash == 0xA0973D5E) { weaponName = "BZGas"; }
  45.                 else if (weaponHash == 0x24B17070) { weaponName = "Molotov"; }
  46.                 else if (weaponHash == 0x060EC506) { weaponName = "Fire Extinguisher"; }
  47.                 else if (weaponHash == 0x34A67B97) { weaponName = "Petrol Can"; }
  48.                 else if (weaponHash == 0xFDBADCED) { weaponName = "Digital scanner";  }
  49.                 else if (weaponHash == 0x88C78EB7) { weaponName = "Briefcase"; }
  50.                 else if (weaponHash == 0x23C9F95C) { weaponName = "Ball";  }
  51.                 else if (weaponHash == 0x497FACC3) { weaponName = "Flare"; }
  52.                 else if (weaponHash == 0xF9E6AA4B) { weaponName = "Bottle"; }
  53.                 else if (weaponHash == 0x61012683) { weaponName = "Gusenberg"; }
  54.                 else if (weaponHash == 0xC0A3098D) { weaponName = "Special Carabine"; }
  55.                 else if (weaponHash == 0xD205520E) { weaponName = "Heavy Pistol"; }
  56.                 else if (weaponHash == 0xBFD21232) { weaponName = "SNS Pistol"; }
  57.                 else if (weaponHash == 0x7F229F94) { weaponName = "Bullpup Rifle"; }
  58.                 else if (weaponHash == 0x92A27487) { weaponName = "Dagger"; }
  59.                 else if (weaponHash == 0x083839C4) { weaponName = "Vintage Pistol"; }
  60.                 else if (weaponHash == 0x7F7497E5) { weaponName = "Firework"; }
  61.                 else if (weaponHash == 0xA89CB99E) { weaponName = "Musket"; }
  62.                 else if (weaponHash == 0x3AABBBAA) { weaponName = "Heavy Shotgun"; }
  63.                 else if (weaponHash == 0xC734385A) { weaponName = "Marksman Rifle"; }
  64.                 else if (weaponHash == 0x63AB0442) { weaponName = "Homing Launcher";  }
  65.                 else if (weaponHash == 0xAB564B93) { weaponName = "Proximity Mine"; }
  66.                 else if (weaponHash == 0x787F0BB) { weaponName = "Snowball"; }
  67.                 else if (weaponHash == 0x47757124) { weaponName = "Flare Gun"; }
  68.                 else if (weaponHash == 0xE232C28C) { weaponName = "Garbage Bag";  }
  69.                 else if (weaponHash == 0xD04C944D) { weaponName = "Handcuffs"; }
  70.                 else if (weaponHash == 0x0A3D4D34) { weaponName = "Combat PDW"; }
  71.                 else if (weaponHash == 0xDC4DB296) { weaponName = "Marksman Pistol"; }
  72.                 else if (weaponHash == 0xD8DF3C3C) { weaponName = "Brass Knuckles";  }
  73.                 else if (weaponHash == 0x6D544C99) { weaponName = "Railgun"; }
  74.                 else if (weaponHash == 0x88374054) { weaponName = "Pistol MK2"; }
  75.                 else if (weaponHash == 0xBFE256D4) { weaponName = "SNS Pistol MK2"; }
  76.                 else if (weaponHash == 0xCB96392F) { weaponName = "Heavy Revolver MK2"; }
  77.                 else if (weaponHash == 0x97EA20B8) { weaponName = "Double Action Revolver"; }
  78.                 else if (weaponHash == 0x2BE6766B) { weaponName = "SMG MK2"; }
  79.                 else if (weaponHash == 0x555AF99A) { weaponName = "Pump Shotgun MK2"; }
  80.                 else if (weaponHash == 0x394F415C) { weaponName = "Assault Rifle MK2"; }
  81.                 else if (weaponHash == 0xFAD1F1C9) { weaponName = "Carbine Rifle MK2"; }
  82.                 else if (weaponHash == 0x969C3D67) { weaponName = "Special Carbine MK2"; }
  83.                 else if (weaponHash == 0x84D6FAFD) { weaponName = "Bullpup Rifle MK2"; }
  84.                 else if (weaponHash == 0xDBBD7280) { weaponName = "Combat MG MK2"; }
  85.                 else if (weaponHash == 0xA914799) { weaponName = "Heavy Sniper MK2"; }
  86.                 else if (weaponHash == 0x6A6C02E0) { weaponName = "Marksman Rifle MK2"; }
  87.                 else { weaponName = "Unarmed"; } Weapon << weaponName; }
  88.                 else Weapon << "Unarmed";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement