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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog problem. (/showthread.php?tid=210536)



Dialog problem. - Robbie_Jay - 13.01.2011

I'm trying to build a gamemode from scratch using tutorials but i'm a little stuck at this dialog thing, i don't really get the problem. I got another list dialog but no matter what id i give the dialog it keeps giving me this error:

Код:
D:\samp03\gamemodes\KRM.pwn(183) : error 027: invalid character constant
D:\samp03\gamemodes\KRM.pwn(183) : error 027: invalid character constant
Код:
 ShowPlayerDialog(playerid,2, DIALOG_STYLE_LIST, "Where do you want to go?", "nLSPD\ n4Dragons\ nGrove Street", "Go!", "Cancel");
Might be something easy to fix but i'm a newbie when it comes to pawn...


Re: Dialog problem. - TouR - 13.01.2011

pawn Код:
ShowPlayerDialog(playerid,2, DIALOG_STYLE_LIST, "Where do you want to go?", "LSPD\n 4Dragons\n Grove Street", "Go!", "Cancel");
Try this


Re: Dialog problem. - Robbie_Jay - 13.01.2011

Oh thanks for the quick answer, worked like a charm.


Re: Dialog problem. - TouR - 13.01.2011

Quote:
Originally Posted by Robbie_Jay
Посмотреть сообщение
Oh thanks for the quick answer, worked like a charm.
Anytime pal