Hide/Inspectator on Duel Match game mode

Results 1 to 4 of 4
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    True MemberRank
    Dec 2009 Join Date
    698Posts

    Hide/Inspectator on Duel Match game mode


    RaGEZONE Recommends

    RaGEZONE Recommends

    Is there a codes for Inspectator/AdminHIDE fixes on Duel Match? Because the inspectator still part on the game instead on spectating only.


  2. #2
    Hardcore Member Orby is offline
    MemberRank
    Oct 2015 Join Date
    NeverlandLocation
    121Posts

    Re: Hide/Inspectator on Duel Match game mode

    MMatchRuleDuel.cpp
    Search:
    void MMatchRuleDuel::OnBegin()
    Add:
    Code:
    if (pItorObj && IsAdminGrade(pItorObj) && pItorObj->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))continue;
    Search:
    void MMatchRuleDuel::OnRoundBegin()
    Add:
    Code:
    if (IsAdminGrade(pObj) && pObj->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))        {            MUID uid = (*i).first;            MMatchServer::GetInstance()->OnDuelSetObserver(uid);        }
    Search:
    void MMatchRuleDuel::OnEnterBattle(MUID& uidChar)
    Add:
    Code:
    MMatchObject* pJoiner = m_pStage->GetObj(uidChar);
        if (pJoiner && IsAdminGrade(pJoiner) && pJoiner->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))
        {
            SendQueueInfo();
            LogInfo();
            return;
        }
    Okay, now be happy.

  3. #3
    Be a kicker than cheater. cheaterastic is offline
    True MemberRank
    Dec 2009 Join Date
    698Posts

    Re: Hide/Inspectator on Duel Match game mode

    Thank you. We'll try that. ^_^

  4. #4
    Ultimate Member Zellum is offline
    MemberRank
    Aug 2014 Join Date
    Space ;)Location
    186Posts

    Re: Hide/Inspectator on Duel Match game mode

    Quote Originally Posted by Orby View Post
    MMatchRuleDuel.cpp
    Search:
    void MMatchRuleDuel::OnBegin()
    Add:
    Code:
    if (pItorObj && IsAdminGrade(pItorObj) && pItorObj->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))continue;
    Search:
    void MMatchRuleDuel::OnRoundBegin()
    Add:
    Code:
    if (IsAdminGrade(pObj) && pObj->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))        {            MUID uid = (*i).first;            MMatchServer::GetInstance()->OnDuelSetObserver(uid);        }
    Search:
    void MMatchRuleDuel::OnEnterBattle(MUID& uidChar)
    Add:
    Code:
    MMatchObject* pJoiner = m_pStage->GetObj(uidChar);
        if (pJoiner && IsAdminGrade(pJoiner) && pJoiner->CheckPlayerFlags(MTD_PlayerFlags_AdminHide))
        {
            SendQueueInfo();
            LogInfo();
            return;
        }
    Okay, now be happy.
    A beautiful question, a full of creativity ans.
    Interesting to join us creating a new GunZ project ?
    contact us (skype) : gunz.gunz6




Advertisement