Skip to content

resetScriptCamera

Client-side

Available in Neon, not standard MTA

Resets GTA's scriptable camera interpolation components without releasing the lease.

Syntax

bool resetScriptCamera(int token)

Arguments

tokenint

Current lease token.

Returns

true when reset; false for stale or foreign ownership.

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 →