16.01.2010, 21:55
Or you could
But peep's is better if you want to do a range, if you want to add more, this may be better.
pawn Код:
new Weapons[] =
{
10, 11, 12, 13, 14, 15, 16, 17, 18, 35, 36, 37, 38, 39, 40, 44, 45
};
for(new s; s<sizeof(Weapons); s++)
{
if(weaponid == Weapons)
{
new string[128];
format(string, sizeof(string), "**Ban: %s Has been banned for weapon hacks!", PlayerName(i));
SendClientMessageToAll(COLOR_RED, string);
BanEx(i, string);
return 1;
}
}