23.04.2012, 00:00
Why is this giving me this error
Thank You
Please Help Me Please
pawn Код:
forward AntiCheat();
public AntiCheat()
{
foreach(Player, i)
{
new weap = GetPlayerWeapon(i);
if(weap > 0 && Weapon[i][weap] == false)
{
if(GetPlayerState(i) == 1 || GetPlayerState(i) == 2 || GetPlayerState(i) == 3) {
SendClientMessage(playerid, COL_RED, "No Hacking");
//ban or warning code here
//Ban or warning code here
//ban or warning code here
//Ban or warning code here
//ban or warning code here
}
}
}
return 1;
}
pawn Код:
error 017: undefined symbol "playerid"
Thank You
Please Help Me Please