Anti Armour help
#2

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.
            }
        }
    }
}
Reply


Messages In This Thread
Anti Armour help - by aqu - 27.02.2011, 08:38
Re: Anti Armour help - by Leon_Rahil! - 27.02.2011, 08:41
Re: Anti Armour help - by Calgon - 27.02.2011, 08:42
Re: Anti Armour help - by mprofitt - 27.02.2011, 08:42
Re: Anti Armour help - by Leon_Rahil! - 27.02.2011, 08:43
Re: Anti Armour help - by mprofitt - 27.02.2011, 08:51
Re: Anti Armour help - by BMUK - 27.02.2011, 09:04
Re: Anti Armour help - by aqu - 27.02.2011, 09:11
Re: Anti Armour help - by BMUK - 27.02.2011, 09:24
Re: Anti Armour help - by mprofitt - 27.02.2011, 09:42

Forum Jump:


Users browsing this thread: 6 Guest(s)