Scripting/Squirrel/Functions/Player.CameraLocked: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
Doom Killer (talk | contribs) (Created page with "== Syntax == <pre>''bool'' Player.CameraLocked</pre> == Arguments == '''> Player''' - The player instance to lock camera for. == Example == This example will set a player...") |
Doom Killer (talk | contribs) (→Syntax) |
||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
''bool'' <pre>Player.CameraLocked</pre> | |||
== Arguments == | == Arguments == |
Revision as of 09:36, 9 March 2016
Syntax
bool
Player.CameraLocked
Arguments
> Player - The player instance to lock camera for.
Example
This example will set a player's camera locked.
function onPlayerSpawn( player ) { player.CameraLocked = true; }