Squirrel/Server/Functions/Game/OpenSSVBridge
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ {{Squirrel/LUOnly}} 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 ...) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|OpenSSVBridge}} | |
{{Squirrel/LUOnly}} | {{Squirrel/LUOnly}} | ||
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. | 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. |
Latest revision as of 11:01, 11 October 2010
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.
[edit] Syntax
bool OpenSSVBridge()
[edit] Arguments
- none
[edit] 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(); } }
[edit] Notes
The function MessagePlayer and call onPlayerCommand were used in in this example. More info about them in corresponding pages.
[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