Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (WEAPON::GET_CURRENT_PED_WEAPON(ped, &weaponHash, 1)) {
- char* weaponName;
- if (weaponHash == 0xA2719263) { weaponName = "Unarmed"; }
- else if (weaponHash == 0xFBAB5776) { weaponName = "Parachute"; }
- else if (weaponHash == 0x99B507EA) { weaponName = "Knife"; }
- else if (weaponHash == 0x8BB05FD7) { weaponName = "Flashlight"; }
- else if (weaponHash == 0xCD274149) { weaponName = "Battle Axe"; }
- else if (weaponHash == 0x94117305) { weaponName = "Pool Cue"; }
- else if (weaponHash == 0xF9DCBF2D) { weaponName = "Hatchet"; }
- else if (weaponHash == 0xDD5DF8D9) { weaponName = "Machete"; }
- else if (weaponHash == 0x19044EE0) { weaponName = "Pipe Wrench"; }
- else if (weaponHash == 0xDFE37640) { weaponName = "Switchblade"; }
- else if (weaponHash == 0x678B81B1) { weaponName = "Nightstick"; }
- else if (weaponHash == 0x4E875F73) { weaponName = "Hammer"; }
- else if (weaponHash == 0x958A4A8F) { weaponName = "Bat"; }
- else if (weaponHash == 0x440E4788) { weaponName = "GolfClub"; }
- else if (weaponHash == 0x84BD7BFD) { weaponName = "Crowbar"; }
- else if (weaponHash == 0x1B06D571) { weaponName = "Pistol"; }
- else if (weaponHash == 0x5EF9FEC4) { weaponName = "Combat Pistol"; }
- else if (weaponHash == 0x22D8FE39) { weaponName = "AP Pistol"; }
- else if (weaponHash == 0x99AEEB3B) { weaponName = "Pistol 50"; }
- else if (weaponHash == 0x13532244) { weaponName = "Micro SMG"; }
- else if (weaponHash == 0x2BE6766B) { weaponName = "SMG"; }
- else if (weaponHash == 0xEFE7E2DF) { weaponName = "Assault SMG"; }
- else if (weaponHash == 0xBFEFFF6D) { weaponName = "Assault Riffle"; }
- else if (weaponHash == 0x83BF0278) { weaponName = "Carbine Riffle"; }
- else if (weaponHash == 0xAF113F99) { weaponName = "Advanced Riffle"; }
- else if (weaponHash == 0x9D07F764) { weaponName = "MG"; }
- else if (weaponHash == 0x7FD62962) { weaponName = "Combat MG"; }
- else if (weaponHash == 0x1D073A89) { weaponName = "Pump Shotgun"; }
- else if (weaponHash == 0x7846A318) { weaponName = "Sawed-Off Shotgun"; }
- else if (weaponHash == 0xE284C527) { weaponName = "Assault Shotgun"; }
- else if (weaponHash == 0x9D61E50F) { weaponName = "Bullpup Shotgun"; }
- else if (weaponHash == 0x3656C8C1) { weaponName = "Stun Gun"; }
- else if (weaponHash == 0x05FC3C11) { weaponName = "Sniper Rifle"; }
- else if (weaponHash == 0x0C472FE2) { weaponName = "Heavy Sniper"; }
- else if (weaponHash == 0xA284510B) { weaponName = "Grenade Launcher"; }
- else if (weaponHash == 0x4DD2DC56) { weaponName = "Smoke Grenade Launcher"; }
- else if (weaponHash == 0xB1CA77B1) { weaponName = "RPG"; }
- else if (weaponHash == 0x42BF8A85) { weaponName = "Minigun"; }
- else if (weaponHash == 0x93E220BD) { weaponName = "Grenade"; }
- else if (weaponHash == 0x2C3731D9) { weaponName = "Sticky Bomb"; }
- else if (weaponHash == 0xFDBC8A50) { weaponName = "Smoke Grenade"; }
- else if (weaponHash == 0xA0973D5E) { weaponName = "BZGas"; }
- else if (weaponHash == 0x24B17070) { weaponName = "Molotov"; }
- else if (weaponHash == 0x060EC506) { weaponName = "Fire Extinguisher"; }
- else if (weaponHash == 0x34A67B97) { weaponName = "Petrol Can"; }
- else if (weaponHash == 0xFDBADCED) { weaponName = "Digital scanner"; }
- else if (weaponHash == 0x88C78EB7) { weaponName = "Briefcase"; }
- else if (weaponHash == 0x23C9F95C) { weaponName = "Ball"; }
- else if (weaponHash == 0x497FACC3) { weaponName = "Flare"; }
- else if (weaponHash == 0xF9E6AA4B) { weaponName = "Bottle"; }
- else if (weaponHash == 0x61012683) { weaponName = "Gusenberg"; }
- else if (weaponHash == 0xC0A3098D) { weaponName = "Special Carabine"; }
- else if (weaponHash == 0xD205520E) { weaponName = "Heavy Pistol"; }
- else if (weaponHash == 0xBFD21232) { weaponName = "SNS Pistol"; }
- else if (weaponHash == 0x7F229F94) { weaponName = "Bullpup Rifle"; }
- else if (weaponHash == 0x92A27487) { weaponName = "Dagger"; }
- else if (weaponHash == 0x083839C4) { weaponName = "Vintage Pistol"; }
- else if (weaponHash == 0x7F7497E5) { weaponName = "Firework"; }
- else if (weaponHash == 0xA89CB99E) { weaponName = "Musket"; }
- else if (weaponHash == 0x3AABBBAA) { weaponName = "Heavy Shotgun"; }
- else if (weaponHash == 0xC734385A) { weaponName = "Marksman Rifle"; }
- else if (weaponHash == 0x63AB0442) { weaponName = "Homing Launcher"; }
- else if (weaponHash == 0xAB564B93) { weaponName = "Proximity Mine"; }
- else if (weaponHash == 0x787F0BB) { weaponName = "Snowball"; }
- else if (weaponHash == 0x47757124) { weaponName = "Flare Gun"; }
- else if (weaponHash == 0xE232C28C) { weaponName = "Garbage Bag"; }
- else if (weaponHash == 0xD04C944D) { weaponName = "Handcuffs"; }
- else if (weaponHash == 0x0A3D4D34) { weaponName = "Combat PDW"; }
- else if (weaponHash == 0xDC4DB296) { weaponName = "Marksman Pistol"; }
- else if (weaponHash == 0xD8DF3C3C) { weaponName = "Brass Knuckles"; }
- else if (weaponHash == 0x6D544C99) { weaponName = "Railgun"; }
- else if (weaponHash == 0x88374054) { weaponName = "Pistol MK2"; }
- else if (weaponHash == 0xBFE256D4) { weaponName = "SNS Pistol MK2"; }
- else if (weaponHash == 0xCB96392F) { weaponName = "Heavy Revolver MK2"; }
- else if (weaponHash == 0x97EA20B8) { weaponName = "Double Action Revolver"; }
- else if (weaponHash == 0x2BE6766B) { weaponName = "SMG MK2"; }
- else if (weaponHash == 0x555AF99A) { weaponName = "Pump Shotgun MK2"; }
- else if (weaponHash == 0x394F415C) { weaponName = "Assault Rifle MK2"; }
- else if (weaponHash == 0xFAD1F1C9) { weaponName = "Carbine Rifle MK2"; }
- else if (weaponHash == 0x969C3D67) { weaponName = "Special Carbine MK2"; }
- else if (weaponHash == 0x84D6FAFD) { weaponName = "Bullpup Rifle MK2"; }
- else if (weaponHash == 0xDBBD7280) { weaponName = "Combat MG MK2"; }
- else if (weaponHash == 0xA914799) { weaponName = "Heavy Sniper MK2"; }
- else if (weaponHash == 0x6A6C02E0) { weaponName = "Marksman Rifle MK2"; }
- else { weaponName = "Unarmed"; } Weapon << weaponName; }
- else Weapon << "Unarmed";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement