20.12.2013, 14:52
First, Hex color code, starts with 0x and ends with FF, and your color code is HTML
The code below should work, because every HTML color must have a { & } (Bracket)
The code below should work, because every HTML color must have a { & } (Bracket)
pawn Код:
for(new i = 0; i < sizeof(FamilyInfo); i++)
{
if(FamilyInfo[i][FamilyTaken] == 1)
{
number ++;
format(string, sizeof(string), "** {%s} %s{F0F0F0} - Led by %s - Current Members: %d - Family Cookies: 0 - Strikes: %d of 3",FamilyInfo[i][fColor], FamilyInfo[i][FamilyName],FamilyInfo[i][FamilyLeader],FamilyInfo[i][FamilyMembers],FamilyInfo[i][fCookies] ,FamilyInfo[i][FStrikes]);
SendClientMessage(playerid, COLOR_GRAD6, string);
}
}