Scripting/Server/Functions/StopCinema

(v0.5-rc3+) StopCinema stops the video (the screen stays, empty). DeleteCinema removes the screen. SetCinemaVolume sets how loud it is (default 100); the sound also fades with the distance to the screen.

Syntax

StopCinema(id)
DeleteCinema(id)
SetCinemaVolume(id, 0..100)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "stopcinema" )
	{
		StopCinema( 0 );
	}
}

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

Section: World settings

Categories: Server functions | World settings