21.09.2010, 17:02
(
Последний раз редактировалось [XST]O_x; 21.09.2010 в 17:08.
Причина: Missed brackets in switch statement!
)
You are right Sergei, I'm not an expert in these though. I'll give it a shot.
pawn Код:
public AntiWeapon(playerid)
{
new weaps = GetPlayerWeapon(playerid);
switch(weaps)
{
case 1..45:
{
Cheat(playerid, "Weapon Hack");
}
}
}