Skip to content

playMissionPassedTune

Client-side

Available in Neon, not standard MTA

Plays one of GTA's two native mission-passed beat tracks.

Syntax

bool playMissionPassedTune(int tune)

GTA task mapping

NATIVE GTA BEHAVIOR 0394
No CTask is created

SCM equivalent: PLAY_MISSION_PASSED_TUNE

This is a native audio command, not a CTask. Neon preloads and starts the matching beat track through GTA's existing frontend-audio path.

Arguments

tuneint

Mission-passed tune selector: 1 or 2.

Returns

true when tune 1 or 2 was started; false for any other selector.

Ownership and lifecycle

Mission-audio handles belong to the resource generation that created them and are released on stop. Mission-passed tunes are local one-shot frontend tracks and create no handle.

Important behavior
  • The selector maps to GTA's native beat-track IDs 11 and 12. This is a local one-shot sound and does not return a mission-audio handle.

Example

assert(playMissionPassedTune(1))

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →