[ Scripting Help ] Help Me + Rep
#5

Using color embedding with the gang color? Store it somewhere and then GANG_COLOR_HERE >>> 8 and {%06x} as placeholder:
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]);
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.
Reply


Messages In This Thread
[ Scripting Help ] Help Me + Rep - by Jekrz - 24.05.2015, 07:33
Re: [ Scripting Help ] Help Me + Rep - by SoFahim - 24.05.2015, 07:58
Re: [ Scripting Help ] Help Me + Rep - by Jekrz - 24.05.2015, 08:00
Re: [ Scripting Help ] Help Me + Rep - by Yashas - 24.05.2015, 10:47
Re: [ Scripting Help ] Help Me + Rep - by Konstantinos - 24.05.2015, 11:03
Re: [ Scripting Help ] Help Me + Rep - by Jekrz - 25.05.2015, 05:13

Forum Jump:


Users browsing this thread: 1 Guest(s)