Skip to content

isVehiclePlaybackActive

Client-side

Available in Neon, not standard MTA

Reports whether GTA's native 16-slot player currently contains the vehicle.

Syntax

bool isVehiclePlaybackActive(vehicle theVehicle)

Arguments

theVehiclevehicle

Streamed vehicle.

Returns

true while native playback is active; false otherwise.

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:isPlaybackActive()
  • vehicle.playbackActive

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →