IsElementOnFire: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
 
Line 16: Line 16:


==Example==
==Example==
{{Needs Exmaple}}
{{Needs Example}}


==See Also==
==See Also==
{{Element functions}}
{{Element functions}}

Latest revision as of 03:17, 31 December 2024

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

Accessories-text-editor.png Script Example Missing Function IsElementOnFire needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


See Also