Skip to content

isScriptCameraFading

Client-side

Available in Neon, not standard MTA

Reports the native fade state for the current camera generation.

Syntax

bool isScriptCameraFading(int token)

Arguments

tokenint

Current lease token.

Returns

true while fading; false when idle or when the lease is not current.

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 →