What's my Mistake? - 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: What's my Mistake? (
/showthread.php?tid=238565)
What's my Mistake? -
01 - 12.03.2011
ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX, "Welcome Message", "Welcome to JavaRP 1.0", "Proceed");
Number of Arguements does not match definition?
can someone help me fixit/
Re: What's my Mistake? -
JaTochNietDan - 12.03.2011
See the correct use of ShowPlayerDialog on the SA-MP Wiki:
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
There you should be able to see why you are missing arguments and which ones you are missing.
Re: What's my Mistake? -
antonio112 - 12.03.2011
You forgot to add a last 'dialog button', after "Proceed". Even tough you want 1 button, you still need to add 2 and the second to be empty, like "".
Use
pawn Код:
ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX, "Welcome Message", "Welcome to JavaRP 1.0", "Proceed", "");
See if it works.