Anti_Speed problem
#6

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
pawn Код:
public OnGameModeInit()
{
    SetTimer("Antisp", 2000, 1);
    return 1;
}

forward Antisp();
public Antisp()
{
    for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
    {
        if(GetPlayerSpeed(playerid) > 210)  // if it is above.
        {
            SendClientMessage(playerid, -1, "<< Anti-Speed: You are kicked >>");  // will be displayed this message
            Kick(playerid); // Then will kick the player.
        }
    }

    return 1;
}
no message the server restarts!
Reply


Messages In This Thread
Anti_Speed problem - by Akcent_Voltaj - 16.09.2012, 15:03
Re: Anti_Speed problem - by Akcent_Voltaj - 16.09.2012, 15:45
Re: Anti_Speed problem - by doreto - 16.09.2012, 15:58
Re: Anti_Speed problem - by ViniBorn - 16.09.2012, 16:10
Re: Anti_Speed problem - by SuperViper - 16.09.2012, 16:29
Re: Anti_Speed problem - by Akcent_Voltaj - 20.09.2012, 11:18
Re: Anti_Speed problem - by ikkentim - 20.09.2012, 11:44
Re: Anti_Speed problem - by Lordzy - 20.09.2012, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)