What's my Mistake?
#1

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/
Reply
#2

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.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)