28.12.2010, 17:10
hey guys, how can i make it so, if player has armor server will kick him
public OnPlayerUpdate(playerid)
{
static
Float: s_fArmour;
GetPlayerArmour(playerid, s_fArmour);
if (s_fArmour > 0.0)
Ban(playerid);
return 1;
}
new Float:armour;
GetPlayerArmour(playerid, armour);
if(armour > 0.0)
{
Kick(playerid);
}