Ui::setWarningMessage: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
You can only use text entries. No custom text.<br><br>Example: SET_WARNING_MESSAGE('t20', 3, 'adder', false, -1, 0, 0, true);
You can only use text entries. No custom text.<br><br>Example: SET_WARNING_MESSAGE('t20', 3, 'adder', false, -1, 0, 0, true);
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setWarningMessage(entryLine1, instructionalKey, entryLine2, p3, p4, p5, p6, background);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setWarningMessage(entryLine1, instructionalKey, entryLine2, p3, p4, p5, p6, background);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''entryLine1:''' String
*'''entryLine1:''' String
Line 15: Line 15:
==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

You can only use text entries. No custom text.

Example: SET_WARNING_MESSAGE('t20', 3, 'adder', false, -1, 0, 0, true);

Syntax

mp.game.ui.setWarningMessage(entryLine1, instructionalKey, entryLine2, p3, p4, p5, p6, background);

Required Arguments

  • entryLine1: String
  • instructionalKey: int
  • entryLine2: String
  • p3: Boolean
  • p4: unknown (to be checked)
  • p5: unknown (to be checked)
  • p6: unknown (to be checked)
  • background: Boolean

Return value

  • Undefined

Example

// todo

See also