Garry's Mod Wiki

Entity:IsOnFire

boolean Entity:IsOnFire()

Description

Returns whether the entity is on fire.

Returns

1 boolean
Whether the entity is on fire or not.

Example

Demonstrates the use of this function.

print( Entity(1):IsOnFire() )
Output: Outputs 'true' to the console if the player 1 is on fire.

Page Links


Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 12
Render Body 0
Render Sidebar 6