Garry's Mod Wiki

game.RemoveRagdolls

  game.RemoveRagdolls()

Description

Removes all the clientside ragdolls. On server, it will remove all prop_ragdolls that have the SF_RAGDOLLPROP_USE_LRU_RETIREMENT (4096) spawnflag.

Example

This will remove all the client ragdolls every 3 seconds.

timer.Create( "removeRagdolls", 3, 0, function() game.RemoveRagdolls() end )