Garry's Mod Wiki
Description
Applies the damage specified by the damage info to the entity.
Calling this function on the victim entity in ENTITY:OnTakeDamage can cause infinite loops.
This function does not seem to do any damage if you apply it to a player who is driving a prop_vehicle_jeep or prop_vehicle_jeep_old vehicle. You need to call it on the vehicle instead.
This function does not apply damage to func_breakable_surf entities correctly. To do this, you will need to use Entity:DispatchTraceAttack instead.
Arguments
Example
Dissolve the target into oblivion.
Example
Damage the vehicle if you need to kill the player inside.
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...