Anti Armour help
#6

Quote:
Originally Posted by aqu
Посмотреть сообщение
Hello,I putted in my script this :

Код:
forward ArmourCheck( );

public ArmourCheck( )
{
    new Float:pArmour;
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i)) continue;
        GetPlayerArmour(i, pArmour);
        if(pArmour > 0.0) Ban(i);
    }
}
To test I downloaded cheats,I putted on armour,but I don't get ban.Can some one help me ?
Quote:
Originally Posted by Leon_Rahil!
Посмотреть сообщение
I disagree with you, mprofitt. I believe there should be a timer called instead.
Such as:
pawn Код:
SetTimer("ArmourCheck", 1000, 1);
Feel free to call a timer then, don't matter how you do it. It is still the same idea.
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: 1 Guest(s)