[Ajuda] Dialog
#7

Quote:
Originally Posted by razorcrash
View Post
eu Tentei aqui mas nгo consegui pessoal.. reformulei o cуdigo com base nesse que foi me apresentado mas mesmo assim ele nгo aparece nгo sei mais o que fazer.


Usei Esse cуdigo abaixo...
PHP Code:
BSL::ProcurandoHit(playerid)
{
    new 
g_size[1000], psize[1000], count 0;
    new 
searchhit 1;
    
format(psizesizeof(psize), "Organizaзгo_______\tNick/ID_________\tValor_______\n");
    
strcat(g_sizepsize)
    foreach(new 
iPlayer)
    {
        if(
IsPlayerConnected(i))
        {
            if(
searchhit == 1)
            {
                if(
PlayerInfo[i][pHeadValue] > && GotHit[i] == && PlayerInfo[i][pMembro] != 8)
                {
                    
searchhit 1;
                    
hitfound 1;
                    
hitmanid i;
                    {
                           if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 8)
                           {
                             
format(psizesizeof(psize), "%s\t%s[%d]\tR${ff00FF}%d\n"NomeORG(i), PlayerName(i), ipHeadValue,  i);
                             
strcat(g_sizepsize);
                             
count ++;
                        }
                    }
                }
            }
        }
    }
    if(
count != 0ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos"g_size"Pegar","Voltar");
    else 
ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos""Nenhum contratado Online no momento!""Fechar""");
    if(
searchhit == 1)
    {
    }
    return 
1;
}
BSL::ProcurandoAss(playerid)
{
    new 
g_size[1000], psize[1000], count 0;
    new 
searchass 1;
    
format(psizesizeof(psize), "Organizaзгo_______\tNick/ID_________\tValor_______\n");
    
strcat(g_sizepsize)
    foreach(new 
iPlayer)
    {
        if(
IsPlayerConnected(i))
        {
            if(
searchass == 1)
            {
                if(
PlayerInfo[i][pHeadValue] > && GotAss[i] == && PlayerInfo[i][pMembro] != 26)
                {
                    
searchass 1;
                    
assfound 1;
                    
assid i;
                    {
                           if(
PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26)
                           {
                             
format(psizesizeof(psize), "%s\t%s[%d]\tR${ff00FF}%d\n"NomeORG(i), PlayerName(i), ipHeadValue,  i);
                             
strcat(g_sizepsize);
                             
count ++;
                        }
                    }
                }
            }
        }
    }
    if(
count != 0ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos"g_size"Pegar","Voltar");
    else 
ShowPlayerDialog(playerid25876DIALOG_STYLE_TABLIST_HEADERS"Lista de Contratos""Nenhum contratado Online no momento!""Fechar""");
    if(
searchass == 1)
    {
    }
    return 
1;

Tente achar um sistema igual ao que vocк quer na net e use de base !!
Reply


Messages In This Thread
Dialog - by razorcrash - 14.04.2019, 20:28
Re: Dialog - by GuiKommander - 14.04.2019, 21:32
Re: Dialog - by razorcrash - 14.04.2019, 21:54
Re: Dialog - by GuiKommander - 14.04.2019, 22:14
Re: Dialog - by SerignoLLi - 15.04.2019, 02:16
Re: Dialog - by razorcrash - 15.04.2019, 12:57
Re: Dialog - by SerignoLLi - 15.04.2019, 16:35
Re: Dialog - by razorcrash - 15.04.2019, 16:47

Forum Jump:


Users browsing this thread: 2 Guest(s)