Metin2 Clear Banned Player Data C++

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Vanilla

Elite
Elite
Joined
Jan 28, 2019
Messages
839
Credits
1,190
Add Service.h :
Code:
Expand Collapse Copy
#define ENABLE_CLEAN_BANNED_PLAYER_DATA
Cmd.cpp
search
Code:
Expand Collapse Copy
struct command_info cmd_info[] =
Add above:
Code:
Expand Collapse Copy
#ifdef ENABLE_CLEAN_BANNED_PLAYER_DATA
ACMD(do_clean);
#endif
Search
Code:
Expand Collapse Copy
};

void interpreter_set_privilege(const char* cmd, int lvl)
Add above:
Code:
Expand Collapse Copy
#ifdef ENABLE_CLEAN_BANNED_PLAYER_DATA
    { "clean",        do_clean,        0,            POS_DEAD,    GM_IMPLEMENTOR    },
#endif
Add cmd_gm.cpp to an available location:


 
Back
Top