Squirrel/Server/Functions/Effects/ExtinguishAllFires
From Liberty Unleashed Wiki
(Difference between revisions)
m |
(→Example) |
||
Line 19: | Line 19: | ||
</code> | </code> | ||
+ | |||
+ | This will extinguish all script created fires. | ||
=== Notes === | === Notes === |
Revision as of 01:22, 8 March 2010
This function extinguishes all script created fires.
Syntax
bool ExtinguishAllFires()
Arguments
- none
Example
function onPlayerCommand( player, cmd, text ) { if ( cmd == "extinguish" ) ExtinguishAllFires() }
This will extinguish all script created fires.
Notes
The call onPlayerCommand was used in in this example. More info about this in the corresponding page.
Related Functions
- CreateExplosion
- CreateFire
- ExtinguishFire
- ExtinguishAllFires