Ui::setNotificationMessage: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
mNo edit summary
Line 1: Line 1:
See [[Notification Pictures]] for a list of notification pictures.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.setNotificationMessage(picName1, picName2, flash, iconType, sender, subject);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setNotificationMessage(picName1, picName2, flash, iconType, sender, subject);</syntaxhighlight>

Revision as of 15:47, 5 July 2018

See Notification Pictures for a list of notification pictures.

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

    mp.game.ui.setNotificationTextEntry("STRING");
    mp.game.ui.setNotificationMessage("CHAR_BLOCKED", "CHAR_BLOCKED", false, 4, 'sender or title', 'subject');
    mp.game.ui.drawNotification(true, false);

See also