Skip to content

isMissionAudioLoaded

Client-side

Available in Neon, not standard MTA

Reports whether an owned native mission-audio event has finished loading.

Syntax

bool isMissionAudioLoaded(int handle)

Arguments

handleint

Opaque handle returned by requestMissionAudio.

Returns

true once loaded; false for pending, stale, foreign, or lost slots.

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
  • While an owned unplayed event remains pending, polling periodically re-arms a native hardware request that GTA may silently drop.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →