SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dialog (/showthread.php?tid=224810)



dialog - Almiuxas99 - 12.02.2011

How to make a dialog vith one selection??

i made it:

ShowPlayerDialog(playerid, GUI_APMOKYMAS,DIALOG_STYLE_MSGBOX,"{39AACC}APMOKYM AI!","{FFFFFF}Kazko nezinai serveryje ? rasyk komanda{39AACC} /DUK\n{FFFFFF}Nori Tapti vip? rasyk komanda {39AACC}/infovip\n{FFFFFF}\nKlausimai ir prasymai skype: almiuxas99.Sekmes","DekuiGerai",");

but there is error

C:\Documents and Settings\Almiuxas\Desktop\Play.projektas.lt serveris\gamemodes\GRP.pwn(14167) : error 037: invalid string (possibly non-terminated string)

how to fix?


Re: dialog - Rock18 - 12.02.2011

Код:
ShowPlayerDialog(playerid, GUI_APMOKYMAS,DIALOG_STYLE_MSGBOX,"{39AACC}APMOKYM AI!","{FFFFFF}Kazko nezinai serveryje ? rasyk komanda{39AACC} /DUK\n{FFFFFF}Nori Tapti vip? rasyk komanda {39AACC}/infovip\n{FFFFFF}\nKlausimai ir prasymai skype: almiuxas99.Sekmes","DekuiGerai","");
At the end you forget to put " ...DekuiGerai","");