Scripting/Server/Functions/RestoreCamera

Gives the camera back to the player.

Syntax

RestoreCamera(player)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "restorecamera" )
	{
		RestoreCamera( player );
	}
}

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

Section: Camera and audio (per player)

Categories: Server functions | Camera and audio (per player)