Skip to content

stopVehiclePlayback

Client-side

Available in Neon, not standard MTA

Stops playback when the calling resource owns the vehicle's active native slot.

Syntax

bool stopVehiclePlayback(vehicle theVehicle)

Arguments

theVehiclevehicle

Streamed vehicle with playback owned by the caller.

Returns

true when stopped; false for inactive, foreign, or unavailable playback.

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:stopPlayback()

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →