Jump to content

How To Grand access CMD player


Recommended Posts

Hello community,

 

Today i will presend you, how to grand acces to players from CMD.

 

Lets start:

1.Open config.cpp

2.Search 

if ((fp = fopen("CMD", "r")))

3.Replace 

				fprintf(stderr, "CMD syntax error: <cmd> <DISABLE | LOW_WIZARD | WIZARD | HIGH_WIZARD | GOD>n");

with 

				fprintf(stderr, "CMD syntax error: <cmd> <DISABLE | PLAYER | LOW_WIZARD | WIZARD | HIGH_WIZARD | GOD>n");

4.Search 

if (!strcasecmp(levelname, "LOW_WIZARD"))
				level = GM_LOW_WIZARD;

and add under this

else if (!strcasecmp(levelname, "PLAYER"))
				level = GM_PLAYER;

Finally, it should looks like this:

2wLGvz1.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.