Native referenceFiveM

BEGIN_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED

0x0A24DA3A41B718F5 HUD
FUNCTION SIGNATURE
void BEGIN_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED(char* labelName);
Property Value
Native Name BEGIN_TEXT_COMMAND_IS_THIS_HELP_MESSAGE_BEING_DISPLAYED
Hash 0x0A24DA3A41B718F5
Return Type void
Parameters labelName (char*)

Parameters

  • labelName (char*) — Text entry name. This can be created using AddTextEntry.

Examples

-- Create new text entry
AddTextEntry('TEST_LABEL', 'Hello world.')

-- Draw help message
BeginTextCommandDisplayHelp('TEST_LABEL')
EndTextCommandDisplayHelp(0, false, true, -1)

-- Test if the message has been displayed
BeginTextCommandIsThisHelpMessageBeingDisplayed("TEST_LABEL")
local isDisplayed = EndTextCommandIsThisHelpMessageBeingDisplayed(0)
Back to HUD