Skip to content

acquireMissionText

Client-side

Available in Neon, not standard MTA

Exclusively loads one GTA mission GXT block for the calling resource.

Syntax

bool acquireMissionText(string blockName)

Arguments

blockNamestring

Mission GXT block name, limited to GTA's seven-character key format.

Returns

true when acquired or refreshed by the current owner; false when another resource owns the global table or the name is invalid.

Ownership and lifecycle

GTA only has one mission-text table, so one resource owns it at a time. Neon clears tracked HUD pointers before releasing that ownership.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →