ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. isElementOnFire

Function

isElementOnFire

ServerElementsIdentical to MTA:SA

Checks whether an element is on fire.

Syntax

bool isElementOnFire(element theElement)

Arguments

theElementelement
The element.

Returns

true if burning.

Example

if isElementOnFire(player) then
    setElementOnFire(player, false)
end

See also