Can I set player class without player dying first?
2 replies, posted
I need to set the class of player with
[CODE]player_manager.SetPlayerClass(ply, "player_myclass")[/CODE]
but I don't want the player to have to suicide before it takes effect.
[B]
Is there a way to do this?[/B]
Yeah, it's called PlayerSpawn hook.
[QUOTE=KO #1;50652963]I need to set the class of player with
[CODE]player_manager.SetPlayerClass(ply, "player_myclass")[/CODE]
but I don't want the player to have to suicide before it takes effect.
[B]
Is there a way to do this?[/B][/QUOTE]
Figured it out (once again), called the loadout class for current player class.
Sorry, you need to Log In to post a reply to this thread.