Scripting/Client/Functions/ToggleCameraMovement
false locks player and camera input (use it while a menu is open); true unlocks.
Syntax
ToggleCameraMovement(bool)Arguments
- bool value
Example
function onScriptLoad()
{
ToggleCameraMovement( true );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- BindKey
- UnbindKey
- GetKeyStatus
- ShowMouseCursor
- GetMouseCursorPos
- SetMouseCursorPos
- SetDriveBy
- ToggleMouseMovement
- ToggleWaterShader
- ToggleDynamicShadows
- ToggleBulletHoles
- SetCameraFov
Section: Input
Categories: Client functions | Input