Zell
Intermediate OT User
- Joined
- Oct 23, 2010
- Messages
- 214
- Reaction score
- 117
Hiho people, I want change some descriptions from player.cpp?
But i tryed a lot of kinds to call getstorage and nothing..
Im using a (tfs?) 0.6.3 server with client 7.6.
Here is the code..I just need:
Thanks for help!
But i tryed a lot of kinds to call getstorage and nothing..
Im using a (tfs?) 0.6.3 server with client 7.6.
Here is the code..I just need:
Code:
std::string Player::getDescription(int32_t lookDistance) const
{
std::stringstream s;
std::string str;
if getPlayerStorageValue(cid, 11005) >= 1
s << "Here I Add my text.";
elseif getPlayerStorageValue(cid, 11005) >= 25
s << "Here I Add my second text.";
if(lookDistance == -1){
s << "yourself.";
}
Thanks for help!
Last edited: