Squirrel/Server/Functions/Game/GetWeatherLock
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{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
This function returns whether the automatic weather option has been locked.
[edit] Syntax
bool GetWeatherLock()
[edit] Arguments
- none
[edit] Example
function onPlayerCommand( player, command, text ) { if ( command == "weatherlock" ) GetWeatherLock() }
[edit] Notes
This function is used to get the current status of the weather lock in the server.
[edit] Related Functions
- CloseGarage
- CloseSSVBridge
- EnableTrains
- GetBoundariesLower
- GetBoundariesUpper
- GetFriendlyFire
- GetGamespeed
- GetGravity
- GetHour
- GetIslands
- GetMinute
- GetSSVBridgeLock
- GetSSVBridgeUpdateTime
- GetSurfaceTraction
- GetTimeLock
- GetWeather
- GetWeatherLock
- IsSSVBridgeUp
- OpenGarage
- OpenSSVBridge
- SetBoundaries
- SetFriendlyFire
- SetGamespeed
- SetGravity
- SetIslands
- SetSSVBridgeLock
- SetSSVBridgeUpdateTime
- SetSurfaceTraction
- SetTime
- SetTimeLock
- SetWeather
- SetWeatherLock