Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Hello, just a small question...
Is it possible to disable the F4 thingy? which makes you go back to class selection.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
spawn the player whenever he request a class.
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
Explain what happens / what doesn't happen
If the player is logged in he already has a class, blabla, so the code should work in OnPlayerRequestClass
You need to place that at top of the public and add a return at the end
If you additionall want to disable to message (if you press F4) just put ForceClassSelection in OnPlayerSpawn
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
When the code is applied to OnPlayerRequestClass, and in game when the player does F4 and /kill it still takes the player to the Class selection.
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
Delay the SpawnPlayer with a timer, mostly happens because OnPlayerRequestClass is called before the internal sa-mp code
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Fixed Anways. Had to set the players logged status to 0 on disconnect