Graphics::notify: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
__FORCETOC__
This function sends notification message for player.
This function sends notification message for player.


Line 9: Line 10:
mp.game.graphics.notify(String message)
mp.game.graphics.notify(String message)
</syntaxhighlight>
</syntaxhighlight>
=== Required Arguments ===
*'''message:''' String: message to show
===Return value===
Unknown


==Example #1==  
==Example #1==  

Revision as of 00:30, 6 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~');

See Also