ENT.OnTakeDamage
From GMod Wiki
| Event Hook | |
| Hook Name | OnTakeDamage |
| Syntax | ENT:OnTakeDamage( CTakeDamageInfo dmginfo ) |
| Description | Called when something damages the entity. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=ENT.OnTakeDamage]ENT.OnTakeDamage [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Appears that this hook will not run unless it takes physics damage.