[Ajuda] Detectar 2 players online
#4

Outra pergunta, fiz um timer aqui, pra ir diminuindo, pra iniciar a partida, mais nгo funciona.

PHP код:
stock Comecar(playerid)
{
    static 
str1[128];
    
pInfo[playerid][pRestartTime]++;
    
format(str1sizeof(str1), "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~Carregando... %d"15 pInfo[playerid][pRestartTime]);
    
GameTextForPlayer(playeridstr110003);
    if (
pInfo[playerid][pRestartTime] >= 15)
    {
        
pInfo[playerid][pRestartTime] = 0;
                
//Aqui vai ter as paradas de quando o jogo iniciar
    
}
    return 
1;

Ele nгo vai diminuindo, tipo, 15, 14, 13. Ele trava no 14, ai vocк precisa dar o comando novamente pra ir pro 13.
Reply


Messages In This Thread
Detectar 2+ players online - by GabrielGoncalves - 13.08.2015, 06:38
Re: Detectar 2 players online - by 99fe3rnando - 13.08.2015, 09:25
Re: Detectar 2 players online - by ipsLuan - 13.08.2015, 15:07
Re: Detectar 2 players online - by GabrielGoncalves - 13.08.2015, 15:19
Re: Detectar 2 players online - by ipsLuan - 13.08.2015, 15:28
Re: Detectar 2 players online - by GabrielGoncalves - 13.08.2015, 15:52
Re: Detectar 2 players online - by ipsLuan - 13.08.2015, 16:03
Re: Detectar 2 players online - by GabrielGoncalves - 13.08.2015, 16:15
Re: Detectar 2 players online - by ipsLuan - 13.08.2015, 16:17
Re: Detectar 2 players online - by GabrielGoncalves - 13.08.2015, 16:18

Forum Jump:


Users browsing this thread: 2 Guest(s)