[Duvida] OnPlayerUpdate
#6

Desculpe ficar meio confusa a minha pergunta mas aqui esta um exemplo do que eu estou me referindo.

pawn Код:
#define MAX_PING 700

public OnPlayerUpdate(playerid)
{
    new string[128];
    new PlayerName[32];
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    if(GetPlayerPing(playerid) >= MAX_PING)
    {
        format(string, sizeof(string), "[INFO]%s saiu do servidor kickado (Ping alto). Maximo: %d ||", PlayerName, MAX_PING);
        SendClientMessageToAll(COLOR_RED, string);
        Kick(playerid);
    }
    return 1;
}
Eu gostaria de saber quantas vezes essas public й chamada!
Reply


Messages In This Thread
[Duvida] OnPlayerUpdate - by junioor - 20.10.2010, 07:03
Re: [Duvida] OnPlayerUpdate - by [BEP]AcerPilot - 20.10.2010, 13:31
Re: [Duvida] OnPlayerUpdate - by CyNiC - 20.10.2010, 16:02
Re: [Duvida] OnPlayerUpdate - by SuB_ZeRo0_ - 20.10.2010, 18:14
Re: [Duvida] OnPlayerUpdate - by SlashPT - 20.10.2010, 18:38
Re: [Duvida] OnPlayerUpdate - by junioor - 20.10.2010, 18:46
Re: [Duvida] OnPlayerUpdate - by SuB_ZeRo0_ - 20.10.2010, 19:09
Re: [Duvida] OnPlayerUpdate - by [BEP]AcerPilot - 20.10.2010, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)