Hi everyone,
So one of my friends made a good discovery:
This probably reminds you the glitched ragdoll, from the dead ringer, or when you use the Roll The Dice plugin and you get the frozen state.
Or if you have Slender Fortress 2 and someone get killed by Dr.trager.
Well all of this was caused because the hand/torso/head scale were set to 0.
So this little code forces the values to 1.
Code:
public void OnEntityCreated(int iEntity,const char[] strClassname)
{
if(StrEqual(strClassname,"tf_ragdoll"))
{
SetEntPropFloat(iEntity, Prop_Send, "m_flHeadScale", 1.0);
SetEntPropFloat(iEntity, Prop_Send, "m_flTorsoScale", 1.0);
SetEntPropFloat(iEntity, Prop_Send, "m_flHandScale", 1.0);
}
}
You can copy/paste this part of code in your plugins, or if you are a server owner compile this snippet and add it to your plugins to fix everything.