Garry's Mod Wiki

Garry's Mod Wiki

Recently Added

This was recently added in version (2025.01.15). It might only be available on the Dev Branch right now.

Description

Returns the inflicting weapon of the damage event, if there is any.

This is not necessarily a Weapon entity, but it is very likely to be one.

See CTakeDamageInfo:GetInflictor for the actual entity that did the damage.

Returns

1 Entity
The damage-inflicting weapon or NULL.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...