Entity/SetShouldServerRagdoll

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 3: Line 3:
  
 
{{Note|Player ragdolls created with this enabled will have an owner set, see {{ClassFunction|Entity|SetOwner}} for more information on what effects this has.}}
 
{{Note|Player ragdolls created with this enabled will have an owner set, see {{ClassFunction|Entity|SetOwner}} for more information on what effects this has.}}
 +
 +
{{Note|This is reset for players when they respawn. ({{ClassFunction|Entity|Spawn}})}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 17:24, 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.

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