Entity/SetShouldServerRagdoll

From Garry's Mod
Jump to: navigation, search
 Entity:SetShouldServerRagdoll( )

Description

Sets if entity should create a server ragdoll on death or a client one.

NOTE

Player ragdolls created with this enabled will have an owner set, see Entity:SetOwner for more information on what effects this has.

NOTE

This is reset for players when they respawn. (Entity:Spawn)

Arguments

boolean serverragdoll

Set true if ragdoll should be created on server, false if on client
Personal tools
Navigation