Some push for the sources I've made for a friend. Just edit it to fit your needs. Thanks to kiper also!
Player.cpp
under
put:
then look for this:
add this under it:
then in ur lua onkill script let the storagevalue being added.
Player.cpp
under
Code:
std::string Player::getDescription(int32_t lookDistance) const
{
std::stringstream s;
std::string str;
Code:
int32_t rank = 0;
getStorageValue(1337, rank);
then look for this:
Code:
else
s << " You have no vocation.";
Code:
if(rank > 0)
s << "(Rank: " << rank << ").";
then in ur lua onkill script let the storagevalue being added.