Squirrel/Server/Functions/Camera/SetCinematicBorder

From Liberty Unleashed Wiki
Revision as of 02:21, 7 January 2010 by Force (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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