27.02.2011, 08:41
pawn Код:
forward ArmourCheck();
public ArmourCheck()
{
for (new i = 0; i < MAX_PLAYERS; i++) // Begins for loop.
{
if (IsPlayerConnected(i)) // Checks if the player is connected.
{
if (GetPlayerArmour(i) > 0.0) // Checks if they have armour on at all.
{
Ban(i); // Bans the player.
}
}
}
}