27.10.2013, 06:05
hello i have this for anti armour cheat its compile fine but when i go in game and use armour cheat i didnt got kicked what the problem
pawn Код:
stock ArmourCheat(playerid, armour)
{
new str[100], p_name[MAX_PLAYER_NAME], Float:Armour;
GetPlayerArmour(playerid, Armour);
if(Armour = 100.0)
{
GetPlayerName(playerid, p_name,sizeof (p_name));
format(str,sizeof (str),"%s has been kicked for armour cheat",p_name);
SCMA(RED, str);
Kick(playerid);
}
return 1;
}