[Ajuda] Crashdetect
#2

PHP код:
#define MaxPing 1500
new Nome[MAX_PLAYER_NAME];
public 
OnPlayerUpdate(playerid)
{
    if(
GetPlayerPing(playerid) > MaxPing)
    {
        new 
string[128];
        
GetPlayerName(playeridNomeMAX_PLAYER_NAME);
        
format(stringsizeof(string), "[ANTI-PING] %s Foi kickado por ultrapassar o limite. (Mбximo: %d ms)"NomeMaxPing);
        
SendClientMessageToAll(-1string);
        
Kick(playerid);
    }
    return 
1;

Reply


Messages In This Thread
Crashdetect - by SatanMessenger - 08.05.2015, 22:06
Re: Crashdetect - by [BOPE]Seu._.Madruga - 08.05.2015, 22:25
Re: Crashdetect - by SatanMessenger - 08.05.2015, 23:28

Forum Jump:


Users browsing this thread: 1 Guest(s)