ExtinguishAllFires

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function extinguishes all script created fires.

Syntax

  1. bool ExtinguishAllFires()

Arguments

  • none

Example

This will extinguish all script created fires when someone types '/extinguish'.

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

Notes

The call onPlayerCommand was used in this example. More info about this in the corresponding page.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox