Squirrel/Server/Functions/Game/GetWeatherLock

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
__NOTOC__
+
{{Squirrel/Title|GetWeatherLock}}
 
This function returns whether the automatic weather option has been locked.
 
This function returns whether the automatic weather option has been locked.
  

Latest revision as of 10:44, 11 October 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

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

[edit] Syntax

  1. bool GetWeatherLock()

[edit] Arguments

  • none

[edit] Example

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

[edit] Notes

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

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox