Scripting/Server/Functions/SetSSVBridgeLock
true stops the bridge exactly where it is (even mid-move). false (the default) lets the automatic cycle run again, also cancelling OpenSSVBridge() / CloseSSVBridge() holds.
Syntax
SetSSVBridgeLock(locked)Arguments
- bool locked
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "setssvbridgelock" )
{
SetSSVBridgeLock( true );
}
}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