GetWeatherLock

From Liberty Unleashed Wiki
Revision as of 10:44, 11 October 2010 by VRocker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function returns whether the automatic weather option has been locked.

Syntax

  1. bool GetWeatherLock()

Arguments

  • none

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "weatherlock" ) GetWeatherLock()
  5. }
  6.  

Notes

This function is used to get the current status of the weather lock in the server.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox