Dialog and class selection 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: Dialog and class selection help (
/showthread.php?tid=405473)
Dialog and class selection help -
Sydcul - 06.01.2013
Hello,
1st question:
I am making a login system. How can i prevent a player from going to class selection (so let the player stay on the view on the LS beach)? Or is this impossible and can i only block exiting the class selection (i know how to do that)?
I guess i've seen it on other servers.
2nd question
If i want to show 2 dialogs after each other, how can i wait for the first one to close to show the other one?
No-one reacts at the minor questions thread, so i posted it here.
Re: Dialog and class selection help -
Sydcul - 07.01.2013
Bump. No-one knows the dialog thing? I solved the first one with TogglePlayerSpectating.
Re: Dialog and class selection help -
Babul - 07.01.2013
in the DialogResponse, in the switch/case of the first dialogid, format the text, put that text into the ShowPlayerDialog, use another dialogid.
Re: Dialog and class selection help -
Sydcul - 07.01.2013
Quote:
Originally Posted by Babul
in the DialogResponse, in the switch/case of the first dialogid, format the text, put that text into the ShowPlayerDialog, use another dialogid.
|
Solved it. Thanks!