Squirrel/Server/Functions/Game/SetTimeLock
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|SetTimeLock}} | |
This function locks or unlocks the server time. | This function locks or unlocks the server time. | ||
Latest revision as of 10:46, 11 October 2010
This function locks or unlocks the server time.
[edit] Syntax
bool SetTimeLock( bool bLocked )
[edit] Arguments
- bLocked - A boolean representing whether the server time should be locked or unlocked
[edit] Example
function onPlayerCommand( player, command, text ) { if ( command == "settimelock" ) SetTimeLock( true ); }
[edit] Notes
This command is used to lock the time inside of 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