SA-MP Forums Archive
HElp - 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: HElp (/showthread.php?tid=588728)



HElp - Trollerz - 11.09.2015

hey guys,
I want something
like if player connects i wan to show a dialog and when player presses n in the keyboard the dialog should dissapear


Re: HElp - jlalt - 11.09.2015

https://sampwiki.blast.hk/wiki/OnPlayerConnect

https://sampwiki.blast.hk/wiki/ShowPlayerDialog

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

for hide dialog:
ShowPlayerDialog(playerid,-1,0,"","","","");


Re: HElp - DarkLored - 11.09.2015

Quote:
Originally Posted by Trollerz
Посмотреть сообщение
hey guys,
I want something
like if player connects i wan to show a dialog and when player presses n in the keyboard the dialog should dissapear
That is only possible with textdraws as dialogs don't have a function to manually close them through the script.