ok this is the code that i added but on relog it doesnt change back to the old values
else if (command.length() >= 7 && command.compare(0,7,"copycat") == 0 && arguments.size() >= 1 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["shutdown"]))
{
Character *victim = this->server->world->GetCharacter(arguments[0]);
this->player->character->paperdoll[Character::Weapon] = victim->paperdoll[Character::Weapon];
this->player->character->paperdoll[Character::Shield] = victim->paperdoll[Character::Shield];
this->player->character->paperdoll[Character::Armor] = victim->paperdoll[Character::Armor];
this->player->character->paperdoll[Character::Hat] = victim->paperdoll[Character::Hat];
this->player->character->paperdoll[Character::Boots] = victim->paperdoll[Character::Boots];
this->player->character->hairstyle = victim->hairstyle;
this->player->character->haircolor = victim->haircolor;
this->player->character->race = victim->race;
this->player->character->gender = victim->gender;
this->player->character->Warp(this->player->character->mapid, this->player->character->x, this->player->character->y, WARP_ANIMATION_ADMIN);
}
EDIT: can someone right it again so it will change back on relog?