douglasscherner
Member
- 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
and
But not work
Solved:
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: