Ok, I tried what you did and got a few errors. I will try to make it more specific lol.
Here's the code and what I want to do:
Код:
format(string, sizeof(string), "Stats for %s (ID: %d):", PlayerName(targetid), targetid);
SendClientMessage(playerid, WHITE, string);
format(string, sizeof(string), "Level: %d | Gender: %s | Age: %d | Origin: %s | Cash: $%s | Bank: $%s | Phone Number: %d | Job: %s (%d)", plevel, gender, age, PlayerInfo[targetid][pOrigin], InsertCommas(wallet), InsertCommas(bank), number, job, joblevel);
SendClientMessage(playerid, SGREEN, string);
format(string, sizeof(string), "Total Hours Online: %d | Warnings: %d | Upgrade Points: %d | Spawn Armor: %d | Experience: %d/%d | Crimes Committed: %d | Times Arrested: %d", hours, warns, upgradepoints, spawnhealth, exp, expamount - PlayerInfo[targetid][pLevelExp], crimes, arrests);
SendClientMessage(playerid, SGREEN, string);
For "Level | Gender | Age |" etc I want it to be a certain color. And for "%d, %s" I want to be white. I hope this makes it easier.