Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #library "Messages"
- #include "zcommon.acs"
- #define MESSAGE_WEAPON 880
- int StoredWeaponMessages[8][4][5] =
- {
- {
- {
- "Millitary Knife",
- "",
- "",
- "",
- "",
- },
- {
- "Axe",
- "Sledgehammer",
- "",
- "",
- "",
- },
- {
- "Bonecrackah 'P-LAH' Chainsaw",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "Dual Shofield .45 Colts",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "'RAPTOR' Sniper Rifle",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "12-Gauge Pump-Action Shotgun",
- "",
- "",
- "",
- "",
- },
- {
- "Double-Barreled Coach Gun",
- "",
- "",
- "",
- "",
- },
- {
- "AA-12 Shotgun",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "M29 Infantry Assault Rifle",
- "",
- "",
- "",
- "",
- },
- {
- "M1-A2 Thompson Submachine Gun",
- "",
- "",
- "",
- "",
- },
- {
- "XM-214-A Minigun",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "MkIII Grenade Launcher",
- "XPML21 Rocket Launcher",
- "",
- "",
- "",
- },
- {
- "C-4 Demolition Charge",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "XOP Flamethrower",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "XIA-B6 Pyro Cannon",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "XL2 Lasergun",
- "",
- "",
- "",
- "",
- },
- {
- "XAMPL-32 'Tiamat'",
- "",
- "",
- "",
- "",
- },
- {
- "XM-BFG 'Ghost Buster'",
- "",
- "",
- "",
- "",
- },
- },
- {
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "",
- "",
- "",
- "",
- "",
- },
- {
- "AS-24 'Devastator'",
- "",
- "",
- "",
- "",
- },
- {
- "SBC Cannon",
- "",
- "",
- "",
- "",
- },
- }
- };
- script MESSAGE_WEAPON (int WeaponID)
- {
- int SlotNumber = WeaponID / 100;
- int TierNumber = (WeaponID % 100) / 10;
- int VarNumber = WeaponID % 10;
- Hudmessage(s:StoredWeaponMessages[SlotNumber][TierNumber][VarNumber];
- HUDMSG_FADEOUT,1,CR_WHITE,0.5,0.9,1.0,1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement