Scripting/Server/Functions/OpenSSVBridge
Raises the Shoreside Vale - Staunton lift bridge and keeps it up (ships can pass, cars cannot cross). Since 0.1.9 the bridge moves: by default it cycles automatically (about 10 s lowering, 30 s down, 10 s with warning lights, 10 s raising = 60 s).
Contents
Syntax
OpenSSVBridge()Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "openssvbridge" )
{
OpenSSVBridge();
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- CreateVehicle
- CreateObject
- CreatePickup
- CreateWeaponPickup
- CreateSphere
- CreateClientSphere
- CreateCheckpoint
- CreateClientCheckpoint
- FindCheckpoint
- GetCheckpointCount
- CreateBlip
- CreateClientBlip
Section: Creating world entities
Categories: Server functions | Creating world entities