SA-MP Forums Archive
Divide the colors, Simple question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Divide the colors, Simple question (/showthread.php?tid=514130)



Divide the colors, Simple question - Le3aT - 19.05.2014

Hey, I want to divide the color of the message sent to the player into like 2

Quote:

Ex; OnPlayerConnect(playerid)
{
SendClientMessage(playerid, COLOR_WHITE, "Hey and welcome to (( Make that with yellow color: DM )) server!");
return 1;
}




Re: Divide the colors, Simple question - Le3aT - 19.05.2014

I mean that i want all the word with white, But "DM" with yellow


Re: Divide the colors, Simple question - AndySedeyn - 19.05.2014

https://sampwiki.blast.hk/wiki/Colors

pawn Код:
SendClientMessage(playerid, COLOR_WHITE, "Hey and welcome to {FFFF00}DM {FFFFFF}server!");



Re: Divide the colors, Simple question - Luis- - 19.05.2014

You could use http://www.colorpicker.com/ to find colours as well. Always remember the square brackets when adding colours like this, {FFFFFF}.