OpenSSVBridge
From Liberty Unleashed Wiki
This function opens the bridge leading to Shoreside Vale and connects Shoreside Vale to Staunton Island. If the bridge is already moving or down nothing will happen.
Syntax
bool OpenSSVBridge()
Arguments
- none
Example
This command will open the Shoreside Vale bridge when someone types '/openssv'.
function onPlayerCommand( plr, cmd, text ) { if ( cmd == "openssv" ) { MessagePlayer( "Opening Shoreside Vale Bridge", plr ); OpenSSVBridge(); } }
Notes
The function MessagePlayer and call onPlayerCommand were used in in this example. More info about them in corresponding pages.
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