SA-MP Forums Archive
So, I made a dialog..... - 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: So, I made a dialog..... (/showthread.php?tid=330612)



So, I made a dialog..... - Scripter12345 - 01.04.2012

Hey, I recently made a dialog with a few options the problem is the dialog has like 6 options
My code is this


Код:
CMD:teleport(playerid, param[])
{
    ShowPlayerDialog(playerid, DIALOG_TELEPORT, DIALOG_STYLE_LIST, "Teleport Menu", "Unity Station \n Los Santos Police Department /n Mall /n Airport /n Car Dealership /n Bank", "Select", "Cancel");
	return 1;
}
My problem is on the dialog

It says this


Unity Station
Los Santos Police Department /n Mall /n Airport / n Car dealership /n Bank


I thought /n put a space in a dialog


Please Help


Thank You So Much


Re: So, I made a dialog..... - WooTFTW - 01.04.2012

I PMed you the solution already :P


Re: So, I made a dialog..... - c0smin - 01.04.2012

put

Код:
ShowPlayerDialog(playerid, DIALOG_TELEPORT, DIALOG_STYLE_LIST, "Teleport Menu", "Unity Station\n Los Santos Police Department\n Mall\n Airport\n Car Dealership\n Bank", "Select", "Cancel");