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



Dialog Error - Nourdin - 27.12.2013

Hello there,

If I compile my script it will give those errors:
Код:
error 017: undefined symbol "DIALOG_PARKTELES"
error 017: undefined symbol "DIALOG_PARKTELES"
The code
Код:
else if(PlayerInfo[playerid][World] == PKWorldID)
	{
	    ShowPlayerDialog(playerid, DIALOG_PARKTELES, DIALOG_STYLE_LIST, "Parkour World Teleports", "/pk 1\t/pk 2\t/pk 3\t/pk 4\t/pk 5\t/pk 6\t/pk 7\t/pk 8\t/pk 9\t/pk 10\t/pk 11\t/pk 12\t/pk 13\t/pk 14", "Ok", "");
	}
Please help me.

Thanks


Re: Dialog Error - xVIP3Rx - 27.12.2013

You should "#define DIALOG_PARKTELES (Some Number)" at the script..


Re: Dialog Error - Nourdin - 27.12.2013

Код:
#define JDIALOGS        2000
That's what I have at the top, should I change it?


Re: Dialog Error - xVIP3Rx - 27.12.2013

Just add
pawn Код:
#define DIALOG_PARKTELES 1999
near it