Squirrel/Server/Functions/Camera/SetCinematicBorder

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This function will activate/deactive the cinematic border. == Syntax == ''SetCinematicBorder'' can take one parameter, this is: <code>bool SetCinematicBorder( bool true/false ...)

Revision as of 02:21, 7 January 2010

This function will activate/deactive the cinematic border.

Syntax

SetCinematicBorder can take one parameter, this is:

  1. bool SetCinematicBorder( bool true/false )

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "cinema" ) SetCinematicView( true );
  5. }
  6.  

Notes

This will turn the cinematic view for all players on.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox