Garry's Mod Wiki

Garry's Mod Wiki

  GM:PostEntityTakeDamage( Entity ent, CTakeDamageInfo dmg, boolean took )

Description

Called when an entity receives a damage event, after passing damage filters, etc.

Applying damage from this hook to the entity taking damage will lead to infinite loop/crash.

Arguments

1 Entity ent
The entity that took the damage.
3 boolean took
Whether the entity actually took the damage. (For example, shooting a Strider will generate this event, but it won't take bullet damage).

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...