24.07.2012, 15:11
You should define colors at the top of your script like this:
Get an html color code, and do this:
Of course, this is not the thing I want to do, seeing as it is not in the correct format. Simply do this to change it.
See what I added? I added the 0x in front of it as-well as two more letters at the end. The last two are for alpha, of which you can change to a number for the alpha if needed.
Then, when you want to use the color, simply do something like this
So it will look like this:
Sends this color in white
Get an html color code, and do this:
pawn Код:
COLOR_WHITE FFFFFF
pawn Код:
COLOR_WHITE 0xFFFFFFFF
Then, when you want to use the color, simply do something like this
pawn Код:
SendClientMessage(playerid, COLOR_WHITE, "Sends this color in white");
Sends this color in white

