[Ajuda] Erro 218
#1

Erro:
pawn Код:
218: old style prototypes used with optional semicolumns
Linha:

pawn Код:
OnPlayerUpPing(playerid); // Essa й a Linha do Erro

public OnPlayerUpPing(playerid)
{
        for(new i; i < MAX_PLAYERS; ++i)
        {
                if(!IsPlayerConnected(i) || GetPlayerPing(i) < MaxPing) continue;
 
                static
                        sString[128],
                        sName[MAX_PLAYER_NAME];
 
                GetPlayerName(i, sName, MAX_PLAYER_NAME);
 
                format(sString, 128, "[ANTI-PING] O jogador %s foi kickado por limite de ping excedido (Limite: %d)", sName, MaxPing);
                SendClientMessageToAll(0xFF0000FF, sString);
                Kick(i);
        }
        return true;
}
Reply


Messages In This Thread
[Ajuda] Erro 218 - by CanTLoGin - 05.10.2011, 20:32
Re: Erro 218 - by [O.z]Caroline - 05.10.2011, 20:35
Re: Erro 218 - by WLSF - 05.10.2011, 20:35
Re: Erro 218 - by CanTLoGin - 05.10.2011, 20:36
Re: Erro 218 - by WLSF - 05.10.2011, 20:39

Forum Jump:


Users browsing this thread: 2 Guest(s)