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

Function

isFireSpreadEnabled

ServerFireTrilogy Hub only

Checks whether fire spreads to nearby spots (setFireSpreadEnabled).

Syntax

bool isFireSpreadEnabled()

Returns

true when fire spreads.

Example

addCommandHandler("ogien", function(player)
    setFireSpreadEnabled(not isFireSpreadEnabled())
    outputChatBox("Rozprzestrzenianie ognia: " .. tostring(isFireSpreadEnabled()), player)
end)

See also