From Garry's Mod
Extinguishes the entity if it is on fire.
Has no effect if called inside EntityTakeDamage (and the attacker is the flame that's hurting the entity)
Demonstrates the use of this function.
Extinguishes the first player if he is on fire.