If you want to hard code it into the server u can do this
After this in item.cpp
EIF_Data *item = this->server->world->eif->Get(id);
reply.SetID(PACKET_ITEM, PACKET_REPLY);
reply.AddChar(item->type);
reply.AddShort(id);
Put
if (id == #) //*
{
this->player->character->race = SKIN_PANDA;
this->player->character->DelItem(id, #); // * remove if you want the item to not be removed
this->player->character->Refresh();//Only use this if you have the up to date rev.
break;
}
*Make sure you replace # with the id you want the item to be
also set the item in the pub to a potion
If you want all races then add these
SKIN_WHITE
SKIN_TAN
SKIN_YELLOW
SKIN_ORC
SKIN_SKELETON
SKIN_PANDA
SKIN_FISH
edit:stupid copy and pasting font
---
http://www.torn.com/478456