SA-MP Forums Archive
my dialog only shows me 3 listitem? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: my dialog only shows me 3 listitem? (/showthread.php?tid=470627)



my dialog only shows me 3 listitem? - Chrisli520 - 19.10.2013

this is code

Код:
format(string,128, "[1] |家具名称:花盘|家具ID:2252|价格:20000|\n[2] |家具名称:军人帽子(绿)|家具ID:19101|价格:150000|\n[3] |家具名称:防爆盾|家具ID:18637|价格:200000|\n[4] ");
			            //format(string,sizeof(string),"[1] |家具名称:花盘|家具ID:2252|价格:20000|\n[2] |家具名称:军人帽子(绿)|家具ID:19101|价格:150000|\n[3] |家具名称:防爆盾|家具ID:18637|价格:200000|\n[4] |家具名称:单人沙发|家具ID:1767|价格:150000|\n[5] |家具名称:电视机|家具ID:1750|价格:80000|\n[6] |家具名称:野外烧烤炉|家具ID:1481|价格:150000|\n[7] |家具名称:黑色双人沙发|家具ID:1723|价格:150000|\n[8] |家具名称:黑色单人沙发|家具ID:1724|价格:120000|\n[9] |家具名称:饮水机|家具ID:1808|价格:150000|");
			            ShowPlayerDialog(playerid, 516, DIALOG_STYLE_LIST, "[游戏币家具]" ,string, "选择", "取消");
PS; the words are in chinese


Re: my dialog only shows me 3 listitem? - DanishHaq - 19.10.2013

Can you show us an in-game screenshot of what it's showing? And then can you manually type all the list items that you want here too? Thanks.