Ui::setNotificationMessage

From RAGE Multiplayer Wiki

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

    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