acquireMissionText
Client-side
Exclusively loads one GTA mission GXT block for the calling resource.
Syntax
bool acquireMissionText(string blockName)Arguments
blockNamestringMission 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
SOURCECLuaPlayerDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp INTRODUCED / EXTENDED3dc633a89Read the commit and why the change was made RELATED CATEGORY HARNESS tagging-up-turf Category-level coverage · test-resources/tagging-up-turf
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native mission text works →