ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server events
  3. onFireExtinguished

Event

onFireExtinguished

ServerFireTrilogy Hub only

A fire went out or was put out.

Handler

addEventHandler("onFireExtinguished", root, function(fireId, x, y, z) ... end)

Parameters

fireIdint
Fire number.
x, y, zfloat
Position.

Source

source is the player who put the fire out, or root.

Example

addEventHandler("onFireExtinguished", root, function()
    if getElementType(source) == "player" then givePlayerMoney(source, 20) end
end)

See also