Little problem.
#4

Well... PWNED Look here:
pawn Код:
public Cheat( playerid )
{
    new Float:health;
    ForEachPlayer( playerid )
    {
        GetPlayerHealth( playerid, health );
        if( health > 99 )
        {
            if( PlayerInfo[ playerid ][ spawnp ] == 0 )
            {
                if( PlayerInfo[ playerid ][ AdminLevel ] < 1 )
                {
                    BanPlayerEx( playerid, "Anticheat", "Health Cheats [MAX HP]" );
                }
            }
        }
    }
    return ( 1 );
}
And you have:
pawn Код:
SetTimer( "Cheat", 1000, true );
Change with:
pawn Код:
SetTimerEx( "Cheat", 1000, true, "i", playerid );
Or if the timer is at OnGameModeInit, Look Here..:
pawn Код:
for( new i = 0; i < MAX_PLAYERS; i ++ ) SetTimerEx( "Cheat", 1000, true, "i", i );
Reply


Messages In This Thread
Little problem. - by Saurik - 21.09.2011, 04:00
Re: Little problem. - by Dragony92 - 21.09.2011, 04:50
Re: Little problem. - by Saurik - 21.09.2011, 12:20
Re: Little problem. - by aRoach - 21.09.2011, 12:42
Re: Little problem. - by Saurik - 21.09.2011, 14:18
Re: Little problem. - by Elmin - 21.09.2011, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)