Need help (hidePlayerDialog with easydialog)
#1

I have problem with definition..

hidePlayerDialog
pawn Код:
#define                 hidePlayerDialog(%0)                    ShowDialog(%0, -1, 0, " ", " ", "", "")
Error where code is used:

pawn Код:
error 035: argument type mismatch (argument 2)
Reply
#2

You cannot use a number with easydialog's format.

Use:
pawn Код:
ShowPlayerDialog( playerid, -1, DIALOG_STYLE_MSGBOX, "_", "_", "_", "" );
instead. That's how you can hide a shown dialog.
Reply
#3

Yeah i know that and thanks for your answer..Basically it will not work with easydialog right?

Btw thank you Konstantinos for your time you are always there to help
Reply
#4

No, it will work! Easydialog can be used with ShowPlayerDialog too. It's just that you cannot pass a value but you need to use Show:name_here (I think it was defined as a string).
Reply
#5

Код:
ShowPlayerDialog( playerid, -1, DIALOG_STYLE_MSGBOX, "_", "_", "_", "" );
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)