Scripting/Client/Functions/SetFollowCamera

true = keep the normal follow-the-ped camera (mouse look) although the engine would switch to its fixed falling camera - used while swimming.

Syntax

SetFollowCamera(bool)

Arguments

Example

function onScriptLoad()
{
	SetFollowCamera( true );
}

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

Section: Screen, world and camera

Categories: Client functions | Screen, world and camera