Ui::setNotificationMessage: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 19: Line 19:
     mp.game.ui.drawNotification(true, false);
     mp.game.ui.drawNotification(true, false);
</syntaxhighlight>
</syntaxhighlight>
[[File:notification.png|200px]]


==See also==
==See also==

Revision as of 21:19, 7 April 2018

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, 'title', 'message');
    mp.game.ui.drawNotification(true, false);

See also