error 035: argument type mismatch (argument 3)
#1

Here is the codes -_- getting these error.

Код:
error 035: argument type mismatch (argument 3)
Script codes:
Код:
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, "{FFFFFF}Welcome to {FF1AFF}Test", "Would you like a helper to show you around?", "Yes", "No");
Reply
#2

3rd argument is the style parameter, not the string you have there... You've mucked up the order of the params, and you've omitted the dialogid.

it goes... (playerid, dialogid, style, caption[], info[], button1[], button2[])

you have (playerid, style, caption[], info[], button1[], button2[])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)