Closing Dialogs?
#1

How do I close a dialog without selecting an option?
Reply
#2

Use esc botton?
You could also leave the botton1 and botton2 empty in the ShowPlayerDialog or just leave one botton and name it (close)
pawn Код:
ShowPlayerDialog(playerid,454,DIALOG_STYLE_MSGBOX,"dialog","Welcome to the server","Close","");
Reply
#3

simply, negative id should close it.
pawn Код:
ShowPlayerDialog(playerid,-2,DIALOG_STYLE_MSGBOX,"","","","");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)