• 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++ Full outfits for Tutors

Joined
Aug 15, 2014
Messages
143
Reaction score
24
Hello Guys when I have GM acess I receive automatic all outfits.
I want to do a advantage for tutors in my server to benefit them.

Can someone help in source where I do this change for tutors have all outfits and addons?
Thanks.

I changed in players.cpp

C++:
bool Player::getOutfitAddons(const Outfit& outfit, uint8_t& addons) const
{
    if (group->access or or player->getGroup() >= 2) {
        addons = 3;
        return true;
    }

and
C++:
bool Player::canWear(uint32_t lookType, uint8_t addons) const
{
    if (group->access or player->getGroup() >= 2) {

But not work
Post automatically merged:

Solved:
Lua:
group->id >= 2
 
Last edited:
Back
Top