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