SA-MP Forums Archive
Can you hide a dialog? - 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: Can you hide a dialog? (/showthread.php?tid=105607)



Can you hide a dialog? - BMUK - 30.10.2009

Example: Player types /timer

Timer starts and shows the player a dialog...

Is there any way to hide the dialog again when it gets to 0?

Scriptside obviously so no replies telling me that the player can press a buttonz to hide it.


thnx


Re: Can you hide a dialog? - Sergei - 30.10.2009

Код:
ShowPlayerDialog(playerid,-1,0,"","","","");
Just put -1 as ID and it hides.


Re: Can you hide a dialog? - BMUK - 30.10.2009

So simple. cheers serg