SA-MP Forums Archive
Dialog won't show - 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 won't show (/showthread.php?tid=552440)



Dialog won't show - Sellize - 24.12.2014

For some reason the dialog won't show?

Код:
new welcome[1000];
		strcat(welcome, "Welcome to the -------! This is where you will be staying during your play.\r\n");
		strcat(welcome, "For the first two hours of play your weapons will be restricted to circumvent DeathMatchers.\r\n\n");
		strcat(welcome, "Everytime you start playing on -----, you need to ------------.\r\n");
		strcat(welcome, "---------- prevents you from doing alot of things, so it is recommended you ---------.\r\n\n");
		strcat(welcome, "If you have any server related questions, you can ask them in the /newbie channel.\r\n");
		strcat(welcome, "You may also /report to get in contact with an admin or to report a rule-breaker.\n\n");
		strcat(welcome, "All standard roleplaying rules are applied here. (/rules if you're unfamiliar with them)");
		ShowPlayerDialog(playerid, 44993, DIALOG_STYLE_MSGBOX, "Welcome!", welcome, "Okay", "");



Re: Dialog won't show - Nimrod - 24.12.2014

"Max dialogid is 32767. Using negative values will close any open dialog." - SA-MP Wiki.

Your dialog's ID is too high.


Re: Dialog won't show - Sellize - 24.12.2014

Quote:
Originally Posted by Nimrod
Посмотреть сообщение
"Max dialogid is 32767. Using negative values will close any open dialog." - SA-MP Wiki.

Your dialog's ID is too high.
Thanks dude, would never have found it myself