PlayerDialog HELP! :o - 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: PlayerDialog HELP! :o (
/showthread.php?tid=401635)
PlayerDialog HELP! :o -
TheReplay1995 - 23.12.2012
Okey, so I have two player_dialogs when connnecting to my server. First you get the Agree to these server rules message, which is placed under "OnPlayerConnect". And then I got the second Player_dialog under "OnPlayerSpawn".
Now the problem is, whenever I die at the server the Player_dialog under "onplayerspawn" loads each team you re-spawn. However I tried to put them both under "onplayerconnect" but then only one of the player_dialogs loads.
Any help would be appreciated!
Thanks, Dan.
Re: PlayerDialog HELP! :o -
Faisal_khan - 23.12.2012
Add the second dialog after the first dialog i.e. in the OnPlayerDialogResponse.
Re: PlayerDialog HELP! :o -
TheReplay1995 - 23.12.2012
Quote:
Originally Posted by Faisal_khan
Add the second dialog after the first dialog i.e. in the OnPlayerDialogResponse.
|
Ohh! Thanks bro, it works!!