Skip to content

moveScriptCamera

Client-side

Available in Neon, not standard MTA

Starts GTA's native camera-position vector track.

Syntax

bool moveScriptCamera(int token, Vector3 from, Vector3 to, int durationMs [, bool ease = true])

Arguments

tokenint

Current lease token.

fromVector3

Start position.

toVector3

End position.

durationMsint

Positive duration in milliseconds.

easebooloptional · default true

Use GTA's eased track instead of linear motion.

Returns

true when the track started; false for stale ownership or invalid vectors/duration.

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 →