28.05.2011, 22:15
pawn Код:
stock GetPlayerWeaponName(playerid)
{
static str[21];
switch(GetPlayerWeapon(playerid))
{
case 0: str = "Unarmed";
case 1: str = "Brass Knuckles";
case 2: str = "Golf Club";
case 3: str = "Nite Stick";
case 4: str = "Knife";
case 5: str = "Baseball Bat";
case 6: str = "Shovel";
case 7: str = "Pool Cue";
case 8: str = "Katana";
case 9: str = "Chainsaw";
case 10: str = "Purple Dildo";
case 11: str = "Small White Vibrator";
case 12: str = "Large White Vibrator";
case 13: str = "Silver Vibrator";
case 14: str = "Flowers";
case 15: str = "Cane";
case 16: str = "Grenade";
case 17: str = "Tear Gas";
case 18: str = "Molotov Cocktail";
case 22: str = "9mm";
case 23: str = "Silenced 9mm";
case 24: str = "Desert Eagle";
case 25: str = "Shotgun";
case 26: str = "Sawn-off Shotgun";
case 27: str = "Combat Shotgun";
case 28: str = "Micro SMG";
case 29: str = "MP5";
case 30: str = "AK-47";
case 31: str = "M4";
case 32: str = "Tec9";
case 33: str = "Country Rifle";
case 34: str = "Sniper Rifle";
case 35: str = "Rocket Launcher";
case 36: str = "HS Rocket Launcher";
case 37: str = "Flamethrower";
case 38: str = "Minigun";
case 39: str = "Satchel Charge";
case 40: str = "Detonator";
case 41: str = "Spraycan";
case 42: str = "Fire Extinguisher";
case 43: str = "Camera";
case 44: str = "Nightvision Goggles";
case 45: str = "Thermal Goggles";
case 46: str = "Parachute";
}
return str;
}