Garry's Mod Wiki

Revision Difference

Player:CreateRagdoll#512665

<function name="CreateRagdoll" parent="Player" type="classfunc">⤶ <description>⤶ Creates the player's death ragdoll entity and deletes the old one.⤶ ⤶ This is normally used when a player dies, to create their death ragdoll.⤶ ⤶ The ragdoll will be created with the player's properties such as [Position](/gmod/Entity/GetPos), [Angles](/gmod/Entity/GetAngles), [PlayerColor](/gmod/Player/GetPlayerColor), [Velocity](/gmod/Entity/GetVelocity) and [Model](/gmod/Entity/GetModel).⤶ ⤶ You can retrieve the entity this creates with <page>Player:GetRagdollEntity</page>.⤶ </description>⤶ <realm>Server</realm>⤶ </function>⤶ ⤶