SA-MP Forums Archive
Why this get error - 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: Why this get error (/showthread.php?tid=470597)



Why this get error - Chrisli520 - 19.10.2013

this has been delected


Re: Why this get error - PT - 19.10.2013

pawn Код:
if(dialogid == 515)//player's object
{
    if(response)
    {
        switch(listitem)
        {
            case 0:
            {
                new pt[128];
                format(pt, sizeof(pt), "[Point Furniture]", "[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, pt, "选择", "取消");
            }
            case 1:
            {
                ShowPlayerDialog(playerid, 517, DIALOG_STYLE_LIST, "[豆子家具]", "[1] |家具名称:花盘|家具ID:2252|价格:1豆子|\n[2] |家具名称:军人帽子(绿)|家具ID:19101|价格:10豆子|\n[3] |家具名称:防爆盾|家具ID:18637|价格:15豆子|\n[4] |家具名称:单人沙发|家具ID:1767|价格:10豆子|\n[5] |家具名称:电视机|家具ID:1750|价格:80000|\n[6] |家具名称:野外烧烤炉|家具ID:1481|价格:10豆子|\n[7] |家具名称:黑色双人沙发|家具ID:1723|价格:10豆子|\n[8] |家具名称:黑色单人沙发|家具ID:1724|价格:5豆子|\n[9] |家具名称:饮水机|家具ID:1808|价格:10豆子|\n[10] |家具名称:彩色盒子|家具ID:10956|价格:20豆子|\n[11] |家具名称:彩蛋|家具ID:19341|价格:25豆子|\n\n[10] |家具名称:大屏幕电视|家具ID:1786|价格:15豆子|", "选择", "取消");
            }
        }
    }
}
japonese? or chinese?

cool language