SA-MP Forums Archive
[Ajuda] Sempre quando dou /gmx - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Sempre quando dou /gmx (/showthread.php?tid=487567)



Sempre quando dou /gmx - PetterAdriano - 14.01.2014

O servidor reinicia '-'


Re: Sempre quando dou /gmx - NurbWill - 14.01.2014

Vocк colocou para setar as variaveis para 0 quando o player desconecta. ^.^

pawn Код:
public OnPlayerDisconnect(playerid)
{
    if(JogadorLogado[playerid] == true)
    {
        OnPlayerSave(playerid);
    }
    return 1;
}



Re: Sempre quando dou /gmx - PetterAdriano - 14.01.2014

Quote:
Originally Posted by NurbWill
Посмотреть сообщение
Vocк colocou para setar as variaveis para 0 quando o player desconecta. ^.^

pawn Код:
public OnPlayerDisconnect(playerid)
{
    if(JogadorLogado[playerid] == true)
    {
        OnPlayerSave(playerid);
    }
    return 1;
}
Jб tem isso


Re: Sempre quando dou /gmx - WillardsGL - 14.01.2014

serб pq a funcionalidade desse comando й de reiniciar o servidor ?


Re: Sempre quando dou /gmx - Mr.Hardy - 14.01.2014

Use o comando gmx somente uma vez e aguarde... Caso pesistir й algum na callback do seu gamemode! gamemodeexit();


Re: Sempre quando dou /gmx - GuilhermeH - 14.01.2014

Quote:
Originally Posted by WillardsGL
Посмотреть сообщение
serб pq a funcionalidade desse comando й de reiniciar o servidor ?
Concerteza, a funзгo do GMX й de reiniciar o servidor...


Re: Sempre quando dou /gmx - Falcon. - 14.01.2014

Quote:
Originally Posted by WillardsGL
Посмотреть сообщение
serб pq a funcionalidade desse comando й de reiniciar o servidor ?
Quote:
Originally Posted by GuilhermeH
Посмотреть сообщение
Concerteza, a funзгo do GMX й de reiniciar o servidor...
Уbvio que nгo...

A funзгo do comando gmx, й de carregar o prуximo gamemode na lista do server.cfg!


Re: Sempre quando dou /gmx - PedroAuditore - 14.01.2014

Quote:
Originally Posted by Falcon.
Посмотреть сообщение
Уbvio que nгo...

A funзгo do comando gmx, й de carregar o prуximo gamemode na lista do server.cfg!
https://sampwiki.blast.hk/wiki/SendRconCommand

Logo no inнcio tem:
pawn Код:
SendRconCommand("gmx");
// This is a scripted version of typing "/rcon gmx" in-game.
// GMX restarts the game mode.



Re: Sempre quando dou /gmx - PT - 14.01.2014

Quote:
Originally Posted by PedroAuditore
Посмотреть сообщение
pawn Код:
// GMX restarts the game mode.
sim olha, ai nao fala que reinicia o server mas sim o gamemode nao confunda.