23.06.2010, 20:03
Quote:
Originally Posted by » RyDeR «
Quote:
pawn Код:
|
Tested GetWeaponName:
pawn Код:
stock TestGetWeaponName()
{
new
Weapon_Name[32];
print(" ");
for(new i; i != 46; i++)
{
GetWeaponName(i, Weapon_Name, sizeof Weapon_Name);
printf("weaponid: %d | %s", i, Weapon_Name);
}
print(" ");
}
Код:
[22:01:03] weaponid: 0 | [22:01:03] weaponid: 1 | Brass Knuckles [22:01:03] weaponid: 2 | Golf Club [22:01:03] weaponid: 3 | Nite Stick [22:01:03] weaponid: 4 | Knife [22:01:03] weaponid: 5 | Baseball Bat [22:01:03] weaponid: 6 | Shovel [22:01:03] weaponid: 7 | Pool Cue [22:01:03] weaponid: 8 | Katana [22:01:03] weaponid: 9 | Chainsaw [22:01:03] weaponid: 10 | Dildo [22:01:03] weaponid: 11 | Dildo [22:01:03] weaponid: 12 | Vibrator [22:01:03] weaponid: 13 | Vibrator [22:01:03] weaponid: 14 | Flowers [22:01:03] weaponid: 15 | Cane [22:01:03] weaponid: 16 | Grenade [22:01:03] weaponid: 17 | Teargas [22:01:03] weaponid: 18 | [22:01:03] weaponid: 19 | [22:01:03] weaponid: 20 | [22:01:03] weaponid: 21 | [22:01:03] weaponid: 22 | Colt 45 [22:01:03] weaponid: 23 | Silenced Pistol [22:01:03] weaponid: 24 | Desert Eagle [22:01:03] weaponid: 25 | Shotgun [22:01:03] weaponid: 26 | Sawn-off Shotgun [22:01:03] weaponid: 27 | Combat Shotgun [22:01:03] weaponid: 28 | UZI [22:01:03] weaponid: 29 | MP5 [22:01:03] weaponid: 30 | AK47 [22:01:03] weaponid: 31 | M4 [22:01:03] weaponid: 32 | TEC9 [22:01:03] weaponid: 33 | Rifle [22:01:03] weaponid: 34 | Sniper Rifle [22:01:03] weaponid: 35 | Rocket Launcher [22:01:03] weaponid: 36 | Heat Seaker [22:01:03] weaponid: 37 | Flamethrower [22:01:03] weaponid: 38 | Minigun [22:01:03] weaponid: 39 | Satchel Explosives [22:01:03] weaponid: 40 | Bomb [22:01:03] weaponid: 41 | Spray Can [22:01:03] weaponid: 42 | Fire Extinguisher [22:01:03] weaponid: 43 | Camera [22:01:03] weaponid: 44 | [22:01:03] weaponid: 45 |