Ui::setNotificationMessage

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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);

Notification.png

See also