Nem próbáltam ki
new szinek[][21]=
{
{0x000000AA}, {0x00A3C0AA}, {0x00BFFFAA}, {0xFF00FFAA},
{0xCCFFDD56}, {0x0FFDD349}, {0xABCDEF01}, {0xAAFFCC33},
{0xDDDD2357}, {0x7CFC00AA}, {0xFFE87DAA}, {0x7E60FFAA},
{0xCBFF45AA}, {0x15005EAA}, {0xAA3333AA}, {0xFF0000AA},
{0xFF0606FF}, {0xFB0000FF}, {0x99FF00AA}, {0xB22222FF},
{0xFFFFF0FF}, {0x778899FF}, {0xCD853FFF}, {0xFFFFFFFF}
};
public OnPlayerText(playerid, text[])
{
new NAME[24],TXT[128];
GetPlayerName(playerid,NAME,24);
format(TXT,128,\"%s: {FFFFFF}%s\",NAME,text);
new rand = random(sizeof(szinek));
SendClientMessageToAll(szinek[rand][0],TXT);
return 0;
}