Skipping Class Selection
#1

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.
Reply
#2

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.....
Reply
#3

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
Reply
#4

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

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

IMO there should be ToggleSelectionGUI() or something.
Reply
#6

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

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?
Reply
#8

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
Reply
#9

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)