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.