Player::notify: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
This function sends notification message for player.
This function sends notification message for player.
'''Codes:'''
~n~ New line
~r~ Red
~g~ Green
~b~ Blue
~w~ or ~s~ White
~y~ Yellow
~p~ Purple
~l~ Black (lower case L)
== Syntax ==
== Syntax ==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
Line 8: Line 19:


<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
player.notify('~w~Hello World~w~')
player.notify('~w~Hello ~n~~g~World~w~')
</syntaxhighlight>
</syntaxhighlight>


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

Revision as of 21:54, 30 May 2018

This function sends notification message for player.

Codes: ~n~ New line ~r~ Red ~g~ Green ~b~ Blue ~w~ or ~s~ White ~y~ Yellow ~p~ Purple ~l~ Black (lower case L)

Syntax

player.notify(String message)

Example

player.notify('~w~Hello ~n~~g~World~w~')

See Also