IsElementOnFire

From Multi Theft Auto: Wiki
Revision as of 03:16, 31 December 2024 by FileEX (talk | contribs) (Created page with "__NOTOC__ {{Shared function}} {{New feature/item|3.0161|1.6.0|22864|This function checks if the specified element is on fire or not.}} ==Syntax== <syntaxhighlight lang="lua"> bool isElementOnFire ( element theElement ) </syntaxhighlight> {{OOP||element:isOnFire|onFire|setElementOnFire}} ===Required Arguments=== *'''theElement''': The element to check. ===Returns=== Returns ''true'' if the element is on fire, ''false'' otherwise. ==Example== {{Needs Ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22864:
This function checks if the specified element is on fire or not.

Syntax

bool isElementOnFire ( element theElement )

OOP Syntax Help! I don't understand this!

Method: element:isOnFire(...)
Variable: .onFire
Counterpart: setElementOnFire


Required Arguments

Returns

Returns true if the element is on fire, false otherwise.

Example

Template:Needs Exmaple

See Also