Skip to content

showMissionText

Client-side

Available in Neon, not standard MTA

Queues a translated key through GTA's native small-message PRINT_NOW path.

Syntax

bool showMissionText(string key, int duration [, int flags = 1])

Arguments

keystring

GXT key of at most seven characters.

durationint

Display duration in milliseconds.

flagsintoptional · default 1

Native unsigned 16-bit message flags.

Returns

true when the current text owner queued the key; false otherwise.

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 →