Scripting/Client/Functions/SetCameraTarget

Points the game camera at a Player or Vehicle handle.

Syntax

SetCameraTarget(entity)

Arguments

Example

function onScriptLoad()
{
	SetCameraTarget( 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