27.02.2011, 09:24
Use this:
pawn Код:
public ArmourCheck( )
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new Float:pArmour;
GetPlayerArmour(i,pArmour);
if(pArmour > 0)
{
Ban(i);
}
}
}
}