[Ajuda] Problema com Dialog
#5

Tenta assim:
PHP Code:
if(listitem == 0

    new 
searchhit 0
    new 
searchass 0
    for(new 
0MAX_PLAYERSi++) 
    {
        if(
IsPlayerConnected(i)) 
        { 
            if(
searchhit == 0
            if(
searchass == 0
            { 
                
strcat(gs_Buffer"Organizaзгo\tNick/ID\tValor\n"); 
                
format(gstring,sizeof(string), "[%s]\t %s[%d]\t  R${ff00FF}[%d]\n"GetPlayerOrg(i), PlayerName(i), iPlayerInfo[i][pHeadValue]); 
                if(
GetPlayerOrg(playerid) == 8
                { 
                    
ConnectedToPC[playerid] = 0
                    
ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos"gs_Buffer"Pegar","Voltar"); 
                    
strcat(gs_Buffer,string); 
                    return 
1
                } 
                else if(
GetPlayerOrg(playerid) == 26
                { 
                    
ConnectedToPC[playerid] = 0
                    
ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos"gs_Buffer"Pegar","Voltar"); 
                    
strcat(gs_Buffer,string); 
                    return 
1
                } 
            } 
        }    
    }

Reply


Messages In This Thread
Problema com Dialog - by razorcrash - 16.04.2019, 11:38
Re: Problema com Dialog - by GuiKommander - 16.04.2019, 11:43
Re: Problema com Dialog - by ipsLuan - 16.04.2019, 12:20
Re: Problema com Dialog - by razorcrash - 16.04.2019, 12:47
Re: Problema com Dialog - by iAplle - 16.04.2019, 15:56
Re: Problema com Dialog - by razorcrash - 16.04.2019, 17:07
Re: Problema com Dialog - by razorcrash - 16.04.2019, 20:46
Re: Problema com Dialog - by FerrariL - 16.04.2019, 22:09
Re: Problema com Dialog - by razorcrash - 16.04.2019, 22:59
Re: Problema com Dialog - by FerrariL - 16.04.2019, 23:09
Re: Problema com Dialog - by razorcrash - 16.04.2019, 23:20

Forum Jump:


Users browsing this thread: 1 Guest(s)