Hello everybody.
I need to make player's name containing his level.
I've check the player.cpp, player.h and i've found
So to use this ?? how? i think i should edit protocolgame.cpp in :
and editing when player levels up in player.cpp so the name matches the level, Hope someone help me
I need to make player's name containing his level.
I've check the player.cpp, player.h and i've found
Code:
void setName(std::string name) {
this->name = name;
}
Code:
player = new Player(this);
player->setName(name);