barcelona58341,
Код
new ragdoll = GetEntPropEnt(client, Prop_Send, "m_hRagdoll");
new entity = CreateEntityByName("prop_physics_override");
decl Float:death_pos[3];
GetEntPropVector(ragdoll, Prop_Send, "m_vecOrigin", death_pos);
DispatchKeyValue(entity, "model", "");
TeleportEntity(entity, death_pos, NULL_VECTOR, NULL_VECTOR);
DispatchSpawn(entity);
ActivateEntity(entity);
SetVariantString("!activator");
AcceptEntityInput(entity, "SetParent", ragdoll, entity);