Scripting/Squirrel/Functions/cRGB: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(w)
Line 15: Line 15:
function onPlayerJoin( player )
function onPlayerJoin( player )
{
{
MessagePlayer("[#CE0C77] Hello, welcome to the server",player);
MessagePlayer("[#CE0C77] Welcome to the server",player);
}
}
</source>
</source>

Revision as of 16:51, 8 February 2015


This page needs a description, or needs a better one. Please help us complete the wiki by writing one.


Syntax

RGB( R, G, B )

Arguments

  • int R - Red
  • int G - Green
  • int B - Blue

Example

function onPlayerJoin( player )
{
MessagePlayer("[#CE0C77] Welcome to the server",player);
}

Notes

Related Functions