Scripting/Client/Functions/ToggleCameraMovement

false locks player and camera input (use it while a menu is open); true unlocks.

Syntax

ToggleCameraMovement(bool)

Arguments

Example

function onScriptLoad()
{
	ToggleCameraMovement( true );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Input

Categories: Client functions | Input