GetTimeLock
From Liberty Unleashed Wiki
This function returns whether the server time has been locked.
Syntax
bool GetTimeLock()
Arguments
- none
Example
function onPlayerCommand( player, command, text ) { if ( command == "timelock" ) MessagePlayer( "The server currently has time lock set to " + GetTimeLock(), player ) }
Notes
This function is used to get the current status of the time lock in the server.
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