Squirrel/Server/Functions/Effects/ExtinguishAllFires

From Liberty Unleashed Wiki
Revision as of 01:22, 8 March 2010 by Force (Talk | contribs)

Jump to: navigation, search

This function extinguishes all script created fires.

Syntax

  1. bool ExtinguishAllFires()

Arguments

  • none

Example

  1.  
  2. function onPlayerCommand( player, cmd, text )
  3. {
  4. if ( cmd == "extinguish" ) ExtinguishAllFires()
  5. }
  6.  
  7.  

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

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox