Jump to content

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
https://metin2.dev/topic/3362-how-to-grand-access-cmd-player/
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • Active Member

4.Search 

if (!strcasecmp(levelname, "LOW_WIZARD"))
				level = GM_LOW_WIZARD;
and add under this

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

Nope..

 

"and add under this

else if (!strcasecmp(levelname, "PLAYER"))

              level = GM_PLAYER;

 

 

  • 1 year later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.