LockCameraPitch(object, int)

Locks the player's camera pitch to its current pitch setting, or unlocks the player's camera pitch.

void LockCameraPitch(
    object oPlayer,
    int bLocked = TRUE
);

Parameters

oPlayer

A player object.

bLocked

TURE or FALSE. (Default: TRUE)


Description

Locks the player's camera pitch to its current pitch setting, or unlocks the player's camera pitch.

Stops the player from tilting their camera angle.



Version

1.67

See Also

functions:  LockCameraDirection | LockCameraDistance
categories:  PC Only Functions


author: Mistress