06.01.2011, 19:01
pawn Код:
stock GetGunName(gunid, output[], len[])
{
switch(gunid){
case 0: return format(output, len, "Fists");
case 1: return format(output, len, "Brass Knuckles");
}
return 0;
}
pawn Код:
new gunname[50];
GetGunName(gunid, gunname, 50);
format(str, 128, "You equpped an %s (%d)", gunname, gunid);
Here are all the gun names + ID: http://weedarr.wikidot.com/gunlist