SA-MP Forums Archive
ShowPlayerDialog - 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: ShowPlayerDialog (/showthread.php?tid=485903)



ShowPlayerDialog - manoc - 06.01.2014

....


Re: ShowPlayerDialog - Sawalha - 06.01.2014

Show the code..


Re: ShowPlayerDialog - AIped - 06.01.2014

on top of the script put this;

#define DIALOG_TELE 5 (or any other number as long as you dont have another dialog with the same number)
new Abondonado;

then if theres more error ,show those and with more code from the dialog


Re: ShowPlayerDialog - offon - 06.01.2014

By the erros I asume you have not defined a dialog. And also, line 49 is too long, try to shorten it.

Instead of DIALOG_TELE you can use the number 0 or whichever you'd like, or you can define it by putting #define DIALOG_TELE 0 on the top of the script.


Re: ShowPlayerDialog - manoc - 06.01.2014

....


Re: ShowPlayerDialog - AIped - 06.01.2014

pawn Код:
"Teleportes"," /AA
Look at the space you leave between " and /AA...make it "/AA
Also i dont know if it hurts but try not to use /


Re: ShowPlayerDialog - SyntaxQ - 06.01.2014

pawn Код:
#define DIALOG_TELE <dialogid> // Put here the dialog ID.



Re: ShowPlayerDialog - manoc - 06.01.2014

....


Re: ShowPlayerDialog - Konstantinos - 06.01.2014

Split the message with strcat.