[AJUDA] /setminfps e /setmaxping
#2

pawn Код:
public OnGameModeInit() //ou OnFilterScriptInit()
{
    SetTimer("ping", 2000, true, "d", playerid);
    return 1;
}
pawn Код:
forward ping(playerid);
public ping(playerid)
{
    if(GetPlayerPing(playerid) >= 250) //mude o 250 pelo ping maximo
    {
        SendClientMessage(playerid, -1, "Vocк foi kickado por ter ping muito alto");
        Kick(playerid);
        return 1;
    }
}
Reply


Messages In This Thread
[AJUDA] /setminfps e /setmaxping - by Lukinhas_Ice - 07.12.2011, 22:15
Re: [AJUDA] /setminfps e /setmaxping - by Cristhian - 07.12.2011, 22:40
Re: [AJUDA] /setminfps e /setmaxping - by Lukinhas_Ice - 07.12.2011, 22:45
Re: [AJUDA] /setminfps e /setmaxping - by ViniBorn - 07.12.2011, 22:51
Re: [AJUDA] /setminfps e /setmaxping - by Cristhian - 07.12.2011, 23:14
Re: [AJUDA] /setminfps e /setmaxping - by Lukinhas_Ice - 08.12.2011, 10:47
Re: [AJUDA] /setminfps e /setmaxping - by ViniBorn - 08.12.2011, 10:48
Re: [AJUDA] /setminfps e /setmaxping - by Lukinhas_Ice - 08.12.2011, 11:06
Re: [AJUDA] /setminfps e /setmaxping - by ViniBorn - 08.12.2011, 11:13
Re: [AJUDA] /setminfps e /setmaxping - by Lukinhas_Ice - 08.12.2011, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)