Garry's Mod Wiki

Player:GetRagdollEntity

  Entity 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 when Player:CreateRagdoll was used.

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.