<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=ClientMessage</id>
	<title>ClientMessage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=ClientMessage"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=ClientMessage&amp;action=history"/>
	<updated>2026-05-06T05:33:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=ClientMessage&amp;diff=18343&amp;oldid=prev</id>
		<title>Xmair: Created page with &quot;This function will send a coloured message to a player.  == Syntax ==  &lt;pre&gt;ClientMessage( message, player, R, G, B )&lt;/pre&gt;  == Arguments ==  * &#039;&#039;string&#039;&#039; &#039;&#039;&#039;message&#039;&#039;&#039; - The...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=ClientMessage&amp;diff=18343&amp;oldid=prev"/>
		<updated>2015-08-27T10:56:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This function will send a coloured message to a player.  == Syntax ==  &amp;lt;pre&amp;gt;ClientMessage( message, player, R, G, B )&amp;lt;/pre&amp;gt;  == Arguments ==  * &amp;#039;&amp;#039;string&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; - The...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will send a coloured message to a player.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ClientMessage( message, player, R, G, B )&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;string&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; - The message to send&lt;br /&gt;
* &amp;#039;&amp;#039;[[Scripting/Squirrel/Functions#Player Functions|Player]]&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;playerTo&amp;#039;&amp;#039;&amp;#039; - The player to send the message to&lt;br /&gt;
* &amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039; - The amount of red&lt;br /&gt;
* &amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;G&amp;#039;&amp;#039;&amp;#039; - The amount of green&lt;br /&gt;
* &amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;B&amp;#039;&amp;#039;&amp;#039; - The amount of blue&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=squirrel&amp;gt;function onPlayerJoin(player)&lt;br /&gt;
{&lt;br /&gt;
 ClientMessage(&amp;quot;Welcome to our server, [#B200FF]and have fun!&amp;quot;,player,12,255,245);&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Hexadecimal color codes surrounded by square brackets ([#RRGGBB]) will change the color of the text preceding it.&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Messages}}&lt;/div&gt;</summary>
		<author><name>Xmair</name></author>
	</entry>
</feed>