[Ajuda] Nгo estб pegando o tempo no tutorial
#9

Quote:
Originally Posted by Lуs
Посмотреть сообщение
PHP код:
switch(dialogid)
{
    case 
904: {
        if(!
response)
            return 
Kick(playerid);
        
        
//Cуdigo do dialogo 904
        
TempoTutorial[playerid] = GetTickCount() + 40000;
        return 
1;
    }
    case 
905: {
        if(!
response)
            return 
Kick(playerid);
            
        if(
TempoTutorial[playerid] > GetTickCount()) { 
            
//Mensagem dizendo que o jogador nгo esperou tempo necessбrio 
            //Mostre o dialog 904 novamente 
            
TempoTutorial[playerid] = GetTickCount() + 40000;
        }
        
        
//Cуdigo do dialogo 905
        
TempoTutorial[playerid] = GetTickCount() + 40000;
        return 
1;
    }

Obrigado depois irei tentar pois nгo entendi muito bem
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)