Garry's Mod Wiki

Entity:Extinguish

void Entity:Extinguish()

Description

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

See also Entity:Ignite.

Example

Demonstrates the use of this function.

Player(1):Extinguish()
Output: Extinguishes the first player if he is on fire.

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 2
Generate Html 0
SaveChanges 10
Render Body 0
Render Sidebar 8