• 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!

Help Pitufu

Well ive done this to an other guy in change of $$ and is working 100%, if you are willing to pay i can give it to you also :D

PD: Everything is done in C++, it also has other features of reseting player like(reset of level, mana, hp and other stuff)
 
Yo pitifu, can I ask you a question about C++ since this thread is current. How do I getPlayerStorage and Use it on C++?
It'll be cool if you can make an example
 
Yo pitifu, can I ask you a question about C++ since this thread is current. How do I getPlayerStorage and Use it on C++?
It'll be cool if you can make an example

Code:
bool Player::getStorageValue(const uint32_t key, int32_t& value) const
{
	StorageMap::const_iterator it;
	it = storageMap.find(key);
	if(it != storageMap.end()){
		value = it->second;
		return true;
	}
	else{
		value = 0;
		return false;
	}
}

Which means:
Code:
if(player->getStorage(key, value))
    //what if true
else
    //false

You have to declare player first.
 
Back
Top