- Documentation
- Server functions
- isFireBurning
Function
isFireBurning
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)