ExtinguishAllFires
From Liberty Unleashed Wiki
This function extinguishes all script created fires.
Syntax
bool ExtinguishAllFires()
Arguments
- none
Example
This will extinguish all script created fires when someone types '/extinguish'.
function onPlayerCommand( player, cmd, text ) { if ( cmd == "extinguish" ) ExtinguishAllFires(); return 1; }
Notes
The call onPlayerCommand was used in this example. More info about this in the corresponding page.
Related Functions
- CreateExplosion
- CreateFire
- ExtinguishFire
- ExtinguishAllFires