Admin Chat Problem
#7

Oy Josh ya got a lil' problem in the formatting there.
Let me demonstrate;
pawn Код:
format(string, sizeof(string), "%s %s:"COL_WHITE "%s", atext, RemoveUnderScore(playerid), playerid, result);
that ain' no good, you got 3 format characters yet ya got 4 values, that ain't matching up.
so how about you do it like this:
pawn Код:
format(string, sizeof(string), "%s %s(%d):"COL_WHITE "%s", atext, RemoveUnderScore(playerid),playerid, result);
I'm assuming RemoveUnderScore returns the player's name without underscores.

Kind regards,
Mike Peterson
Reply


Messages In This Thread
Admin Chat Problem - by Joshswag - 14.08.2013, 05:30
Re: Admin Chat Problem - by ThaCrypte - 14.08.2013, 05:47
Re: Admin Chat Problem - by Joshswag - 14.08.2013, 06:05
Re: Admin Chat Problem - by dEcooR - 14.08.2013, 09:05
Re: Admin Chat Problem - by NinjahZ - 14.08.2013, 10:05
Re: Admin Chat Problem - by Vanter - 14.08.2013, 10:51
Re: Admin Chat Problem - by Mike_Peterson - 14.08.2013, 11:36

Forum Jump:


Users browsing this thread: 1 Guest(s)