Squirrel/Server/Functions/Effects/ExtinguishAllFires

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
m
Line 4: Line 4:
 
== Syntax ==
 
== Syntax ==
  
<code>bool ExtinguishAllFires()</code>
 
 
<code>bool ExtinguishAllFires()</code>
 
<code>bool ExtinguishAllFires()</code>
  

Revision as of 01:17, 8 March 2010

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.  

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