Skip to content

startVehiclePlayback

Client-side

Available in Neon, not standard MTA

Starts direct non-looped GTA recorded-car playback on a vehicle owned by the local unoccupied-vehicle syncer.

Syntax

bool startVehiclePlayback(vehicle theVehicle, int recordingId)

Arguments

theVehiclevehicle

Streamed, non-frozen, non-blown vehicle under valid local sync ownership.

recordingIdint

Loaded recording owned by the calling resource.

Returns

true when a native slot started; false for unknown/unloaded recordings, foreign ownership, duplicate/full pools, player drivers, or invalid vehicle state.

Ownership and lifecycle

Playback stops when the resource shuts down, the native vehicle is destroyed or streamed out, or sync ownership is lost. It uses opcode 05EB directly and does not loop.

OOP aliases

  • vehicle:startPlayback(recordingId)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →