03.04.2009, 16:01
Why not just use this?
pawn Код:
#include <a_samp>
public OnPlayerUpdate(playerid)
{
w=GetPlayerWeapon(playerid);
if(w==35 || w==36 || w==37 || w==38 || w==43 || w==44 || w==45)
{
SendClientMessage(playerid, 0xE60000FF, "No cheating in this server! You have been BANNED!");
BanEx(playerid,"WEAPON CHEATING");
}
return 1;
}