• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Name Prefix

gabrielks

New Member
Joined
Dec 2, 2011
Messages
12
Reaction score
0
I would like to know how I can modify the sources to put the number of resets next to the Character Name in the Game Ex: Calango [2]
 
ProtocolGame::AddCreature
Lua:
const Player* player = creature->getPlayer();
            if(player && (player->getReborn() > 0))
            {
                                std::stringstream ss;
                ss << creature->getName() << " " << player->getReborn() << "";
                msg->addString(ss.str().c_str());
            }
and add getReborn in player.cpp
 
Back
Top