Gamemode.CreateEntityRagdoll
From GMod Wiki
Event Hook | |
Hook Name | CreateEntityRagdoll |
Syntax | GM:CreateEntityRagdoll( Entity entity, Entity ragdoll ) |
Description | A ragdoll of an entity has been created. |
Returns | Boolean |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.CreateEntityRagdoll]Gamemode.CreateEntityRagdoll [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional notes
- Creating a nil ragdoll will cause you to crash.