Ui::drawNotification

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Draws a notification above the map and returns the notifications handle

Color syntax:
~r~ = Red
~b~ = Blue
~g~ = Green
~y~ = Yellow
~p~ = Purple
~o~ = Orange
~c~ = Grey
~m~ = Darker Grey
~u~ = Black
~n~ = New Line
~s~ = Default White
~w~ = White
~h~ = Bold Text
~nrt~ = ???

Special characters:
� = Rockstar Verified Icon (U+00A6:Broken Bar - Alt+0166)
? = Rockstar Icon (U+00F7:Division Sign - Alt+0247)
? = Rockstar Icon 2 (U+2211:N-Ary Summation)

Example C#:
Function.Call(Hash._ADD_TEXT_COMPONENT_STRING3, 'Now I need you to bring the ~b~vehicle~w~ back to me!');

Syntax

mp.game.ui.drawNotification(blink, p1);

Required Arguments

  • blink: Boolean
  • p1: Boolean

Return value

  • int

Example

// todo

See also