Skip to content

setScriptCameraWidescreen

Client-side

Uses GTA's native widescreen transition under the current lease.

Syntax

bool setScriptCameraWidescreen(int token, bool enabled)

Arguments

tokenint

Current lease token.

enabledbool

Desired widescreen state.

Returns

true when applied; false for a stale or foreign lease.

Ownership and lifecycle

Only one resource can own the global script camera. San Andreas Online rejects stale callbacks and releases ownership on stop, restart, disconnect, or an authoritative server camera RPC.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →