Skip to content

acquireMissionText

Client-side

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. San Andreas Online clears tracked HUD pointers before releasing that ownership.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →