Garry's Mod Wiki

Revision Difference

Player:GetRagdollEntity#550108

<function name="GetRagdollEntity" parent="Player" type="classfunc"> <description>Returns players death ragdoll. The ragdoll is created by <page>Player:CreateRagdoll</page>. <bug><page>Entity:GetPos</page> Serverside with this function then will return the position when <page>Player:CreateRagdoll</page> used </bug> <bug><page>Entity:GetPos</page> Serverside with this function then will return the position when <page>Player:CreateRagdoll</page> was used </bug> </description> <realm>Shared</realm> <rets> <ret name="" type="Entity">The ragdoll. Unlike normal clientside ragdolls (`C_ClientRagdoll`), this will be a `C_HL2MPRagdoll` on the client, and `hl2mp_ragdoll` on the server.</ret> </rets> </function>