- Documentation
- Fire
Category
Fire
All Lua functions and events in the Fire category, on the server and the client.
Server functions 6
getReturns the list of burning fires started by the server.Fires isChecks whether explosions leave secondary fires.Explosion Fires Enabled isChecks whether the fire with the given number is still burning.Fire Burning isChecks whether fire spreads to nearby spots (Fire Spread Enabled setFireSpreadEnabled).setEnables or disables secondary fires after explosions (Explosion Fires Enabled createExplosion, a vehicle exploding). The fires are the same for all players. Enabled by default.setDecides whether fire spreads to nearby spots (grass, vehicles next to it). The setting works the same for every player. Fire spreads by default.Fire Spread Enabled
Shared functions 2
createStarts a fire. On the server every player sees it, including players who join later, and the function returns the fire's number. On the client the fire burns only in that one game.Fire extinguishPuts out fire. On the server it does so for everyone: by fire number, all fires within a radius of a point, or all at once (no arguments). On the client it only puts out locally started fires.Fire