Skip to content

setScriptCameraWidescreen

Client-side

Available in Neon, not standard MTA

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. Neon rejects stale callbacks and releases ownership on stop, restart, disconnect, or an authoritative server camera RPC.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →