PDA

View Full Version : char help


6inchpurplepony
2003-06-11, 02:59 PM
what does these charaters mean BOOL PRIVATE OnGameCommandInv(char **argv, int argc)
{
if (argc == 2)
{
char t[1024];
sprintf(t, "In inventory:");
server->GamePrintInfo(t);
for (LinkedItem *item = inventory.GetFirstItem(); item; item = inventory.GetNextItem(item))
{
sprintf(t, "id=%d", item->lpData);
server->GamePrintInfo(t);
}
} else
{
char t[1024];
sprintf(t, "ÿc4showinv ÿc0Lists all items in your inventory.");
server->GamePrintInfo(t);
}
return TRUE;


the ÿc0, i dont understand please help!

Acer
2003-06-12, 02:34 PM
EDIT: Im an idiot lol, I missed his qustion.

Mr.Lee
2003-06-12, 02:40 PM
"ÿc" is a color code.

JiDDaR
2003-06-12, 03:04 PM
I answered that in the bot forum too. -.-