Ui::displayHelpTextFromStringLabel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
Line 16: Line 16:
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 14:50, 20 May 2017

shape goes from -1 to 50 (may be more).
p0 is always 0.

Example:
void FloatingHelpText1(char* text)
{
BEGIN_TEXT_COMMAND_DISPLAY_HELP('STRING');
ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
END_TEXT_COMMAND_DISPLAY_HELP (0, 0, 1, -1);
}

Image:
- imgbin.org/images/26209.jpg

more inputs/icons: (scroll to line 377 and below)
- pastebin.com/nqNYWMSB

Used to be known as _DISPLAY_HELP_TEXT_FROM_STRING_LABEL

Syntax

mp.game.ui.displayHelpTextFromStringLabel(p0, loop, beep, shape);

Required Arguments

  • p0: unknown (to be checked)
  • loop: Boolean
  • beep: Boolean
  • shape: int

Return value

  • Undefined

Example

// todo

See also