Squirrel/Server/Functions/Game/SetSSVBridgeLock
From Liberty Unleashed Wiki
This function locks or unlocks the lift bridge leading to Shoreside Vale.
Syntax
bool SetSSVBridgeLock( bool bLocked )
Arguments
- bLocked - A boolean representing whether the bridge should be locked or unlocked
Example
function onPlayerCommand( player, command, text ) { if ( command == "setssvlock" ) SetSSVBridgeLock( true ); }
Notes
This command is used to set the lock on the SSV bridge to locked/unlocked (true/false)
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