SetTimeLock
From Liberty Unleashed Wiki
This function locks or unlocks the server time.
Syntax
bool SetTimeLock( bool bLocked )
Arguments
- bLocked - A boolean representing whether the server time should be locked or unlocked
Example
function onPlayerCommand( player, command, text ) { if ( command == "settimelock" ) SetTimeLock( true ); }
Notes
This command is used to lock the time inside of 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