Player:GetRagdollEntity
Description
Returns players death ragdoll. The ragdoll is created by Player:CreateRagdoll.
Calling Entity:GetPos server-side with this function then will return the position where Player:CreateRagdoll was used, as it is a hl2mp_ragdoll which is a serverside point entity that creates a clientside ragdoll for everyone (opposed to prop_ragdoll that is serverside and networks).
Returns
1 Entity
The ragdoll.
Unlike normal clientside ragdolls (C_ClientRagdoll
), this will be a C_HL2MPRagdoll
on the client, and hl2mp_ragdoll
on the server.