Ui::setNotificationMessageClanTag2: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
picName1 &amp; picName2 must match. Possibilities: 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB'.<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.<br>'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.<br>'clanTag' shows a crew tag in the 'sender' header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. 'MK' becomes '___MK', 'ACE' becomes '___ACE', etc.)<br>iconType2 is a mirror of iconType. It shows in the 'subject' line, right under the original iconType.
picName1 &amp; picName2 must match. Possibilities: 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB'.<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.<br>'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.<br>'clanTag' shows a crew tag in the 'sender' header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. 'MK' becomes '___MK', 'ACE' becomes '___ACE', etc.)<br>iconType2 is a mirror of iconType. It shows in the 'subject' line, right under the original iconType.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setNotificationMessageClanTag2(picName1, picName2, flash, iconType1, sender, subject, duration, clanTag, iconType2, p9);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setNotificationMessageClanTag2(picName1, picName2, flash, iconType1, sender, subject, duration, clanTag, iconType2, p9);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''picName1:''' String
*'''picName1:''' String
Line 17: Line 17:
==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:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 14:52, 20 May 2017

picName1 & picName2 must match. Possibilities: 'CHAR_DEFAULT', 'CHAR_FACEBOOK', 'CHAR_SOCIAL_CLUB'.
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.
'duration' is a multiplier, so 1.0 is normal, 2.0 is twice as long (very slow), and 0.5 is half as long.
'clanTag' shows a crew tag in the 'sender' header, after the text. You need to use 3 underscores as padding. Maximum length of this field seems to be 7. (e.g. 'MK' becomes '___MK', 'ACE' becomes '___ACE', etc.)
iconType2 is a mirror of iconType. It shows in the 'subject' line, right under the original iconType.

Syntax

mp.game.ui.setNotificationMessageClanTag2(picName1, picName2, flash, iconType1, sender, subject, duration, clanTag, iconType2, p9);

Required Arguments

  • picName1: String
  • picName2: String
  • flash: Boolean
  • iconType1: int
  • sender: String
  • subject: String
  • duration: float
  • clanTag: String
  • iconType2: int
  • p9: int

Return value

  • int

Example

// todo

See also