Entity/Extinguish

From Garry's Mod
Revision as of 20:06, 8 October 2019 by Spar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:Extinguish( )

Description

Extinguishes the entity if it is on fire.
Has no effect if called inside GM:EntityTakeDamage (and the attacker is the flame that's hurting the entity)

See also Entity:Ignite.

Examples

Example

Demonstrates the use of this function.

Player(1):Extinguish()

Output:

Extinguishes the first player if he is on fire.
Personal tools
Navigation