- Dokumentacja
- Zdarzenia serwera
- onFireExtinguished
Zdarzenie
onFireExtinguished
Ogień zgasł albo został ugaszony.
Obsługa
addEventHandler("onFireExtinguished", root, function(fireId, x, y, z) ... end)Parametry
fireIdint- Numer ognia.
x, y, zfloat- Miejsce.
Źródło
source to gracz, który ugasił ogień, albo root.
Przykład
addEventHandler("onFireExtinguished", root, function()
if getElementType(source) == "player" then givePlayerMoney(source, 20) end
end)