Graphics::notify: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
Line 25: Line 25:
</syntaxhighlight>
</syntaxhighlight>
</div>
</div>
==See Also==
{{Player_block}}

Revision as of 20:47, 9 January 2018

This function sends notification message for player.

Fonts and colors

In RageMP 0.3.2 RC-1 due to a bug, message parameter needs to be at least 16 characters long.

Syntax

mp.game.graphics.notify(String message)

Required Arguments

  • message: String: message to show

Return value

Unknown

Example #1

This example will output notification with specified message.

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