Dialogs on spawn - 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: Dialogs on spawn (
/showthread.php?tid=99081)
Dialogs on spawn -
Daren_Jacobson - 25.09.2009
Kye said that he fixed problem with showing dialogs on spawn, what exactly did he fix, cause i did this on rc6 and it was really hard to get it working, and now i am wondering if i can take out half of that stuff out.
what i did was in OnConnect use TogglePlayerSpectating and ForceClassSelection then on login toggle it off, then that seemed to not work some times, so in OnSpawn I added a GetPlayerState for Spectating, and if it was true toggled off spectating again. (not sure if it works like that, but i put it in, and i didn't notice a diff)
thanks.