Color Coding Question
#1

Hey quick question on message sizes, first example is what i'm trying to do, second is what works.

pawn Код:
format( string5, sizeof( string5 ), "Cash: "COL_LIGHTBLUE"%d "COL_WHITE"| | Bank Balance: "COL_LIGHTBLUE"%s "COL_WHITE"| | PayCheck: "COL_LIGHTBLUE"%d "COL_WHITE"| | Pay Time: "COL_LIGHTBLUE"%d Minutes "COL_WHITE"| |",GetPlayerMoney(id),PlayerInfo[playerid][pBankAmount],PlayerInfo[playerid][pPayCheck],TimeLeft);
And this is the one that works:

pawn Код:
format( string5, sizeof( string5) ,"Cash: %d   | | Bank Balance: %s  | | PayCheck: %d  | | Pay Time: %d Minutes  | |",GetPlayerMoney(id),PlayerInfo[playerid][pBankAmount],PlayerInfo[playerid][pPayCheck],TimeLeft);

Does the "COL_LIGHTBLUE" and "COL_WHITE" count as characters? I heard you can't output more then 128 characters, So I'm guessing it does, if it does, is there another way to do this?
Reply


Messages In This Thread
Color Coding Question - by Abreezy - 23.01.2012, 03:40
Re: Color Coding Question - by Oh - 23.01.2012, 03:45
Re: Color Coding Question - by Abreezy - 23.01.2012, 03:47
Re: Color Coding Question - by Oh - 23.01.2012, 03:48
Re: Color Coding Question - by Abreezy - 23.01.2012, 03:55
Re: Color Coding Question - by Gh05t_ - 23.01.2012, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)