Scripting/Squirrel/Functions/Player.CameraLocked

From Vice City Multiplayer
Jump to navigation Jump to search

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;
}

Related Functions

Player Game Functions

These functions exist for compatibility with the R2 Squirrel server.