Graphics::notify: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function sends notification message for player. Fonts and colors == Syntax == <syntaxhighlight lang="javascript"> mp.game.graphics.notify(String me...")
 
No edit summary
Line 8: Line 8:
</syntaxhighlight>
</syntaxhighlight>


== Example ==
==Example #1==  
This example will output notification with specified message.


<syntaxhighlight lang="javascript">
<div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;">
<div style="margin: 10px 10px 10px 10px;"><b>Client-Side</b></div>
<syntaxhighlight lang="javascript" highlight="3-7">
mp.game.graphics.notify('~w~Hello World~w~')
mp.game.graphics.notify('~w~Hello World~w~')
</syntaxhighlight>
</syntaxhighlight>
</div>


==See Also==
==See Also==
{{Player_block}}
{{Player_block}}

Revision as of 17:47, 3 January 2018

This function sends notification message for player.

Fonts and colors

Syntax

mp.game.graphics.notify(String message)

Example #1

This example will output notification with specified message.

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

See Also