[Ajuda] recorde online
#1

Boa Noite, Gente estou com um pequeno problema nesse script qual o problema

ele estб em dof meu gm й Dini alguem pode me ajudar a passar pra Dini

pawn Код:
//comeзo do GM
#define RECORD_ONLINE     "/GM/arquivos/Record.cfg"
new Recorde;
new Online;

// No OnGameModeInit

    if(DOF2_FileExists(RECORD_ONLINE))
        Recorde = DOF2_GetInt(RECORD_ONLINE, "RecordeJogadores");
    else
    {
        DOF2_CreateFile(RECORD_ONLINE);
        DOF2_SetInt(RECORD_ONLINE, "RecordeJogadores", 0);
        Recorde = 0;
    }

// No OnPlayerDisconnect
    Online--;
// No OnPlayerConnect
    Online++;
    if(Online > Recorde)
    {
        Recorde = Online;
        DOF2_SetInt(RECORD_ONLINE, "RecordeJogadores", Recorde);
        format(string, sizeof(string),"O Recorde de jogadores online й: %d", Recorde);
        SendClientMessageToAll(COLOR_YELLOW,string);
    }
Reply


Messages In This Thread
recorde online - by VenoN - 19.10.2012, 23:38
Re: recorde online - by Q.I - 20.10.2012, 00:50
Re: recorde online - by VenoN - 20.10.2012, 01:14
Re: recorde online - by Maklister - 20.10.2012, 02:13
Re: recorde online - by zSuYaNw - 20.10.2012, 02:22

Forum Jump:


Users browsing this thread: 1 Guest(s)