[Ajuda] Ajuda Dialog
#1

PHP код:
CMD:inventario(playeridparams[]){ 
    new 
Inv[160];
    new 
string[10];
    new 
weaponid GetPlayerWeapon(playerid);
    if(
UsandoMochila[playerid] == true
    {
         
        for(new 
0!= 5i++)
        {
                
format(stringsizeof(string), "%s"NomePente(weaponid));
                
strcat(InvInventarioAmmo[i][playerid] > ? (InventarioAmmo[i][playerid] == 18 ? ("Cocktail Molotov") : (NomePente(weaponid))) : ("(NenhumPente)"));
                
strcat(Inv"\n");
        }
        
strcat(Inv"GuardarPente");
        
ShowPlayerDialog(playeridDialogInvDIALOG_STYLE_LIST"Itens"Inv"Selecionar""Fechar");
    } 
    else 
    {         
        
SendClientMessage(playerid, -1,"Voce nao tem uma mochila vai comprar!");
    } 
    return 
1

Alguem Poderia me ajudar a passar esse Cod Para DIALOG_STYLE_TABLIST_HEADERS ?
Reply
#2

@removed
Reply
#3

Quote:
Originally Posted by Glederson_dom
Посмотреть сообщение
@REMOVED
[/php]
Bom o codigo mesmo errado esta funcionando perfeitamente! hahahahahah, eu so quero que passe a Dialog list pra aquela ali tlg?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)