So I'm having an interesting timing issue with CS:GO and CS_RespawnPlayer.
I am hooking the "player_death" event in order to respawn players immediately after they die.
However, if I run the RespawnPlayer command from the death event hook, the player respawns but are in the floor and are sort of a ghost player (not alive, no weapons but can move around kind of).
However I can get around this by using CreateTimer and any amount of time works.
For instance I can use a 0.000001 timer and it will respawn immediately and works wonderfully.
Is there something I am doing wrong? I am already using PostHook.