• 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++ PZ Zone [RED SKULL / BLACK SKULL]

OTcreator

Active Member
Joined
Feb 14, 2022
Messages
429
Solutions
1
Reaction score
44
Hello,
RED SKULL / BLACK SKULL don't have PZ LOCKED, when other player attack first.
I have "allowfightback" and work perfect when player attak whiteskull , redskull etc.

C++:
    if(g_config.getBool(ConfigManager::PZLOCK_ON_ATTACK_SKULLED_PLAYERS))
        {

            if(!pzLocked && targetPlayer->getSkull() >= SKULL_WHITE)
            {
                pzLocked = true;
                sendIcons();
                addInFightTicks(pzLocked, 60000);
            }
        }


What to change so that the player with the skull gets PZ when the yellow skull attack?
 
Back
Top