ENT.OnTakeDamage
From GMod Wiki
Revision as of 17:48, 28 July 2010 by Crazy Quebecer (Talk | contribs)
| 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.