SA-MP Forums Archive
Dialog when player death - 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)
+--- Thread: Dialog when player death (/showthread.php?tid=645013)



Dialog when player death - pollo97 - 18.11.2017

How I can close any opened dialog when player die?
I just tried to put under OnPlayerDeath and OnPlayerSpawn this code:
Код:
      ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, " ", " ", " ", " ");
But it doesn't work.
Any suggest?