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!
{
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!