[Ajuda] Alguйm me ajuda fazer isso
#1

Alguйm pode me ajudar a trocar a seleзгo de objetos Funiture de dialog para ShowModelSelectionMenu

O code funciona assim, й selecionado uma categoria, dessa categoria, й direcionada para outra, e depois entra essa parte, onde se compra os objetos.
Sу que ta pra comprar em dialog, alguйm pode me ajudar a colocar em ShowModelSelectionMenu?
O code abaixo й a parte exata onde os dialogs redirecionam para compra.

Код:
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");
	return true;
}
Reply


Messages In This Thread
Alguйm me ajuda fazer isso - by Revolts - 26.10.2017, 00:51
Re: Alguйm me ajuda fazer isso - by RodrigoMSR - 26.10.2017, 03:47
Re: Alguйm me ajuda fazer isso - by Revolts - 26.10.2017, 10:01
Re: Alguйm me ajuda fazer isso - by RodrigoMSR - 26.10.2017, 11:57
Re: Alguйm me ajuda fazer isso - by Revolts - 26.10.2017, 12:11
Re: Alguйm me ajuda fazer isso - by ZaHHak - 26.10.2017, 21:14

Forum Jump:


Users browsing this thread: 1 Guest(s)