Staff commands dont work on new grades

Results 1 to 2 of 2
  1. #1
    Hardcore Member Pain is offline
    MemberRank
    Nov 2017 Join Date
    In your head ^^Location
    122Posts

    Support Staff commands dont work on new grades

    Hey Ragezone,

    I've added a new grade by following this tutorial:
    Unmasking&Adding Grades, everything worked correctly, but i wanted them to be staff grades, so i used this tutorial: Making The New Grade As Admin.

    after i rebuild all, i logged into the server, but the "
    IsAdminGrade" commands arent working.

    can someone tell me if i forgot to add something?
    We are Pain


  2. #2
    Hi, Im Ryuzu yerij007 is offline
    True MemberRank
    Oct 2011 Join Date
    Behind You!Location
    297Posts

    Re: Staff commands dont work on new grades

    PHP Code:
    ZChat.cpp 
    Code:
    				if ((ZGetMyInfo()->GetUGradeID() == MMUG_ADMIN) || 
    					(ZGetMyInfo()->GetUGradeID() == MMUG_EVENTHOST) ||
    					(ZGetMyInfo()->GetUGradeID() == MMUG_DEVELOPER) ||
    					(ZGetMyInfo()->GetUGradeID() == MMUG_EVENTMASTER))
    				{
    					nCmdInputFlag |= ZChatCmdManager::CIF_ADMIN;
    				}
    gl
    Hate me ♥



Advertisement