Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
276 B
2
Indexable
Never
		if (speaker && !speaker->isAccountManager() && !speaker->hasCustomFlag(PlayerCustomFlag_HideLevel)) 
		{
			std::string rebirths;
			speaker->getStorage("34362", rebirths);
			uint16_t level = std::max(0, (int32_t)(atoi(rebirths.c_str())));
			msg->add<uint16_t>(level);
		}