GetSSVBridgeUpdateTime
From Liberty Unleashed Wiki
This function returns the Shoreside Vale lift bridge update cycle in seconds. This cycle is the time interval starting from when the bridge opens to the moment when it prepares to close again (when the bells start to ring).
Syntax
int GetSSVBridgeUpdateTime()
Arguments
- none
Example
This command will tell players the time the SSV bridge stays open when they type '/bridgetime'.
function onPlayerCommand( plr, cmd, text ) { if ( cmd == "bridgetime" ) { MessagePlayer( "Shoreside Vale bridge will stay open for " + GetSSVBridgeUpdateTime() + " seconds.", plr ); } }
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