Graphics::notify

From RAGE Multiplayer Wiki
Revision as of 13:34, 26 October 2018 by Rootcause (talk | contribs) (Replaced HTML with template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function sends a notification message to the player.

You can also use the colour codes seen here: Fonts and colors

Syntax

mp.game.graphics.notify(message)

Parameters

  • message: String

Example

This example will send a notification 'Hello World' to the player with the word 'Hello' in green.

Client-Side
mp.game.graphics.notify('~g~Hello ~w~World');

See More