Ui::setNotificationMessage: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
picName1 &amp; picName2 must match. Possibilities: 'CHAR_SIMEON', 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB', 'CHAR_BLOCKED', 'CHAR_ALL_PLAYERS_CONF'<br><br><br>flash is a bool for fading in.<br>iconTypes:<br>1 : Chat Box<br>2 : Email<br>3 : Add Friend Request<br>4 : Nothing<br>5 : Nothing<br>6 : Nothing<br>7 : Right Jumping Arrow<br>8 : RP Icon<br>9 : $ Icon<br><br>'sender' is the very top header. This can be any old string.<br>'subject' is the header under the sender.
picName1 &amp; picName2 must match. Possibilities: 'CHAR_SIMEON', 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB', 'CHAR_BLOCKED', 'CHAR_ALL_PLAYERS_CONF'<br><br><br>flash is a bool for fading in.<br>iconTypes:<br>1 : Chat Box<br>2 : Email<br>3 : Add Friend Request<br>4 : Nothing<br>5 : Nothing<br>6 : Nothing<br>7 : Right Jumping Arrow<br>8 : RP Icon<br>9 : $ Icon<br><br>'sender' is the very top header. This can be any old string.<br>'subject' is the header under the sender.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setNotificationMessage(picName1, picName2, flash, iconType, sender, subject);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setNotificationMessage(picName1, picName2, flash, iconType, sender, subject);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''picName1:''' String
*'''picName1:''' String
Line 13: Line 13:
==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

picName1 & picName2 must match. Possibilities: 'CHAR_SIMEON', 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB', 'CHAR_BLOCKED', 'CHAR_ALL_PLAYERS_CONF'


flash is a bool for fading in.
iconTypes:
1 : Chat Box
2 : Email
3 : Add Friend Request
4 : Nothing
5 : Nothing
6 : Nothing
7 : Right Jumping Arrow
8 : RP Icon
9 : $ Icon

'sender' is the very top header. This can be any old string.
'subject' is the header under the sender.

Syntax

mp.game.ui.setNotificationMessage(picName1, picName2, flash, iconType, sender, subject);

Required Arguments

  • picName1: String
  • picName2: String
  • flash: Boolean
  • iconType: int
  • sender: String
  • subject: String

Return value

  • int

Example

// todo

See also