PDA

View Full Version : [CS:S] Keep ragdoll when respawning player


rhelgeby
01-29-2012, 13:16
When respawning a dead player using CS_RespawnPlayer, their ragdoll is removed too. How do we keep those? Are there any server settings to control this?

blodia
01-30-2012, 14:34
try setting "m_hRagdoll" to -1 on the client before respawning them, the game probably checks if the client has a ragdoll then removes it before spawning.

rhelgeby
01-30-2012, 16:29
Thanks for the tip, that sounds plausible.