View Single Post
jonitaikaponi
Senior Member
Join Date: Nov 2014
Location: Finland
Old 08-04-2015 , 08:17   Re: CS_RespawnPlayer CSGO become ghost.
Reply With Quote #6

Quote:
Originally Posted by shortguy View Post
I eventually wont be using it for an instant respawn system, just wanted to find out what the requirements were for a valid spawn.

I guess, Valid Team and Is Dead?
Yeah. I've noticed that player's that get spawned without a valid team, spawn in the way you described. I guess what is happening here, is that the player gets spawned when he is on the spectator team or being changed to it.

Try to use ChangeClientTeam(client, team) before respawning the player.
1 = Spectate
2 = Terrorists
3 = Counter-Terrorists

Last edited by jonitaikaponi; 08-04-2015 at 08:20.
jonitaikaponi is offline