24.05.2015, 11:03
Using color embedding with the gang color? Store it somewhere and then GANG_COLOR_HERE >>> 8 and {%06x} as placeholder:
By the way, your command is messed up. You use sscanf to show information for one family and then you display all the data from FamilyInfo array even if there aren't any (NULL).
You don't return the message for the usage and have incorrect statements using brackets.
pawn Код:
format(string, sizeof(string), "%d | Name: {%06x}%s{FFFFFF} | Leader: %s | Members: %d", number, GANG_COLOR_HERE >>> 8, FamilyInfo[i][FamilyName], FamilyInfo[i][FamilyLeader], FamilyInfo[i][FamilyMembers]);
You don't return the message for the usage and have incorrect statements using brackets.