Ui::displayHelpTextFromStringLabel: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
shape goes from -1 to 50 (may be more).<br>p0 is always 0.<br><br>Example:<br>void FloatingHelpText1(char* text)<br>{<br> BEGIN_TEXT_COMMAND_DISPLAY_HELP('STRING');<br> ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);<br> END_TEXT_COMMAND_DISPLAY_HELP (0, 0, 1, -1);<br>}<br><br>Image:<br>- imgbin.org/images/26209.jpg<br><br>more inputs/icons: (scroll to line 377 and below)<br>- pastebin.com/nqNYWMSB<br><br>Used to be known as _DISPLAY_HELP_TEXT_FROM_STRING_LABEL
shape goes from -1 to 50 (may be more).<br>p0 is always 0.<br><br>Example:<br>void FloatingHelpText1(char* text)<br>{<br> BEGIN_TEXT_COMMAND_DISPLAY_HELP('STRING');<br> ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);<br> END_TEXT_COMMAND_DISPLAY_HELP (0, 0, 1, -1);<br>}<br><br>Image:<br>- imgbin.org/images/26209.jpg<br><br>more inputs/icons: (scroll to line 377 and below)<br>- pastebin.com/nqNYWMSB<br><br>Used to be known as _DISPLAY_HELP_TEXT_FROM_STRING_LABEL
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.displayHelpTextFromStringLabel(p0, loop, beep, shape);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.displayHelpTextFromStringLabel(p0, loop, beep, shape);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' unknown (to be checked)
*'''p0:''' unknown (to be checked)
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:33, 6 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