Squirrel/Server/Functions/Game/GetTimeLock
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|GetTimeLock}} | |
This function returns whether the server time has been locked. | This function returns whether the server time has been locked. | ||
Latest revision as of 10:43, 11 October 2010
This function returns whether the server time has been locked.
[edit] Syntax
bool GetTimeLock()
[edit] Arguments
- none
[edit] Example
function onPlayerCommand( player, command, text ) { if ( command == "timelock" ) MessagePlayer( "The server currently has time lock set to " + GetTimeLock(), player ) }
[edit] Notes
This function is used to get the current status of the time 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