Scripting/Squirrel/Functions/Player.CameraLocked: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
Line 1: Line 1:
== Syntax ==
== Syntax ==


''bool'' <pre>Player.CameraLocked</pre>
<pre>bool 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;
}