[Ajuda] Trocar dialog list para mSelection
#1

Como faзo para fazer os objetos aparecerem em MODEL_PREVIEW com Mselection?

Atualmente aparecem em Dialog List

PHP код:
Dialog:FurniturePurchase2(playerid, response, listitem, inputtext[])
{
    if(!
response) return Dialog_Show(playerid, FurniturePurchase, DIALOG_STYLE_LIST, "Selecione uma categoria de mуveis", GetHouseCategoryList(), "Selecionar", "Cancelar");
    
gstr[0] = EOS;
    
strcat(gstr, "Nome da mobнlia\tCusto\n");
    for(new 
x = 0; x < MAX_FURNITURE; x++)
    {
        if(
FurniData[x][fSubCategory] == listitem && FurniData[x][fCategory] == GetPVarInt(playerid, "FurnCat") && FurniData[x][fModel] != 0)
        {
            
format(sgstr, sizeof(sgstr), "%s\t$%s\n", FurniData[x][fuName], format_cash(FurniData[x][fPrice]));
            
strcat(gstr, sgstr);
        }
    }
    
Dialog_Show(playerid, FurniturePurchase3, DIALOG_STYLE_TABLIST_HEADERS, "Comprar mуveis", gstr, "Selecionar", "Cancelar");//Dialog List
    
return true;
} 
Alguйm me ajuda?
Reply
#2

Link: https://sampforum.blast.hk/showthread.php?tid=637490
Sу estudar
Reply
#3

Recomendo a usar esta include:

https://sampforum.blast.hk/showthread.php?tid=570213
Reply
#4

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Como se eu nгo tivesse tentando, mas ok, vlw pela "Ajuda"


Quote:
Originally Posted by Adiiti
Посмотреть сообщение
Coloquei, mas nгo ficou bem o que eu queria, tava tentando usar o mselection mesmo, mas nгo to conseguindo, toda hora um erro diferente.
Reply
#5

Tб querendo cуdigo pronto ? coloca tag Pedido.
Reply
#6

Quote:
Originally Posted by FerrariL
Посмотреть сообщение
Tб querendo cуdigo pronto ? coloca tag Pedido.
Ah, claro, flw.
Reply
#7

ve esse topico https://sampforum.blast.hk/showthread.php?tid=448835 ele e sobre skins mais serve pra vc saber como fazer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)