Scripting/Server/Functions/SetCinematicBorder

Shows or hides the widescreen letterbox bars on that player's screen (v0.2.0+).

Syntax

SetCinematicBorder(player, bool)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "setcinematicborder" )
	{
		SetCinematicBorder( player, true );
	}
}

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)