Entity/SetShouldServerRagdoll

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added missing page)
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetShouldServerRagdoll
 
|Parent=Entity
 
 
|Description=Sets if entity should create a server ragdoll on death or a client one.
 
|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 {{ClassFunction|Entity|SetOwner}} for more information on what effects this has.}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 17:00, 15 November 2019

 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.

Arguments

boolean serverragdoll

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