SA-MP Forums Archive
Dialog problem - 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: Dialog problem (/showthread.php?tid=497374)



Dialog problem - jardysmith0316 - 26.02.2014

Код:
format(szMessage, sizeof(szMessage), "%s%s (ID %d), Gia Mua Vat Lieu la %d.\n",szMessage, BizzInfo[i][bMessage], i, BizzInfo[i][bGiaMua]);
                    ShowPlayerDialog(playerid,DIALOG_THUMUAVL247,DIALOG_STYLE_LIST,"Gia Thu Mua Vat Lieu", szMessage,"Chon","huy bo");
and code:
Код:
new rand = random(MAX_BUSINESSES - 1);
		if(BizzInfo[rand][bDeliverX] == 0 || BizzInfo[rand][bDeliverY] == 0 || BizzInfo[rand][bDeliverZ] == 0)
		{
                rand = 0;
	        if(++rand >= MAX_BUSINESSES)
			{
		        rand = 0;
			}
		}

It don't load when me load truck