SA-MP Forums Archive
Skipping Class Selection - 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: Skipping Class Selection (/showthread.php?tid=101763)



Skipping Class Selection - 8D. - 11.10.2009

Dear Community,

like someone asked here --> http://forum.sa-mp.com/index.php?topic=126651.0 I want to know how to remove the GUI panel.
I used the search function and tried different way e.g Spectate ( at this case my Player wont Spawn with SpawnPlayer(playerid) anywhere @ script) or variables and KeyStateChange function on request class.
But I Can't get it work.
It's very important for me to get rid of this panel.
I know that there are many topics around about this theme, but i can't get it work as you read already.

8D.


Re: Skipping Class Selection - Proteus - 11.10.2009

The only way to hide it is to do TogglePlayerSpectating.

If you do TogglePlayerSpectating they dont see class selection at all.

A toggle csel gui function would be very useful.....


Re: Skipping Class Selection - 8D. - 12.10.2009

Yeah as I said, I tried Spectate-Mode already.
But when I finished login, he doesn't spawn anymore,only spectating.
Of course I used TogglePlayerSpectation(playerid,0) and SpawnPlayer(playerid).

@ Seif I dont want to see the gui-panel


Re: Skipping Class Selection - Latino_Killa - 12.10.2009

OnPlayerConnect -> TogglePlayerSpectating
Anytime before player spawn -> SetSpawnInfo
Then -> SpawnPlayer

Trust me it works fine, I have it working perfectly on my own server.


Re: Skipping Class Selection - Finn - 12.10.2009

IMO there should be ToggleSelectionGUI() or something.


Re: Skipping Class Selection - Proteus - 12.10.2009

Quote:
Originally Posted by Finn
IMO there should be ToggleSelectionGUI() or something.
^^


Re: Skipping Class Selection - 8D. - 13.10.2009

Okay it works now. But only the first time you login on the server.
When you disconnect ( server will be online all the time ) and reconnect and you do login, you are freezed in the spectate mode
Any Idea's?


Re: Skipping Class Selection - Zeromanster - 13.10.2009

Quote:
Originally Posted by Finn
IMO there should be ToggleSelectionGUI() or something.
I liked the 0.2X style with no damn buttons, 0.3 sux :P


Re: Skipping Class Selection - 8D. - 13.10.2009

Would be nice to get some posts on the topic of this thread... xD
Still waiting <3


Re: Skipping Class Selection - beckzy - 14.10.2009

What is wrong with it? I have seen a lot of people moaning that they don't want it there. But why? I like it. If you don't want it there then use the alternative of making your own class selection using TogglePlayerSpectating. TogglePlayerSpectating was made to work at class selection in 0.3 primarily for this reason. You might not like it, but other people do, so use the alternative that Kye provided and script your own class selection.