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

Function

isFireBurning

ServerFireTrilogy Hub only

Checks whether the fire with the given number is still burning.

Syntax

bool isFireBurning(int id)

Arguments

idint
Fire number from createFire.

Returns

true if it is burning.

Example

local id = createFire(0, 0, 3, 3, 10000)
setTimer(function()
    print(isFireBurning(id))  -- false: minęło 10 s / 10 s have passed
end, 11000, 1)