Gamemode.PlayerSpawnedRagdoll
From GMod Wiki
Event Hook | |
Hook Name | PlayerSpawnedRagdoll |
Syntax | GM:PlayerSpawnedRagdoll( Player player, String model, Entity ragdoll ) |
Description | Called when a player has already spawned a ragdoll. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerSpawnedRagdoll]Gamemode.PlayerSpawnedRagdoll [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- The propid parameter may actually be the ent.
- This hook gets called just after the ragdoll is spawned.