Ui::displayHelpTextThisFrame: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
The messages are localized strings.<br>Examples:<br>'No_bus_money'<br>'Enter_bus'<br>'Tour_help'<br>'LETTERS_HELP2'<br>'Dummy'<br><br>**The bool appears to always be false (if it even is a bool, as it's represented by a zero)**<br>--------<br>p1 doesn't seem to make a difference, regardless of the state it's in.  
The messages are localized strings.<br>Examples:<br>'No_bus_money'<br>'Enter_bus'<br>'Tour_help'<br>'LETTERS_HELP2'<br>'Dummy'<br><br>**The bool appears to always be false (if it even is a bool, as it's represented by a zero)**<br>--------<br>p1 doesn't seem to make a difference, regardless of the state it's in.  
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.displayHelpTextThisFrame(message, p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.displayHelpTextThisFrame(message, p1);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''message:''' String
*'''message:''' String
Line 9: Line 9:
==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

The messages are localized strings.
Examples:
'No_bus_money'
'Enter_bus'
'Tour_help'
'LETTERS_HELP2'
'Dummy'

**The bool appears to always be false (if it even is a bool, as it's represented by a zero)**
--------
p1 doesn't seem to make a difference, regardless of the state it's in.

Syntax

mp.game.ui.displayHelpTextThisFrame(message, p1);

Required Arguments

  • message: String
  • p1: Boolean

Return value

  • Undefined

Example

// todo

See also