Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Staff commands dont work on new grades

Junior Spellweaver
Joined
Nov 20, 2017
Messages
146
Reaction score
19
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?
 
Skilled Illusionist
Joined
Oct 3, 2011
Messages
300
Reaction score
48
PHP:
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
 
Upvote 0
Back
Top