ZChat_Cmds.cpp:
Search for:
Replace with this:Code:_CC_AC("admin_halt", &ChatCmd_AdminServerHalt, CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_halt", "");
-----------------------Code:// _CC_AC("admin_halt", &ChatCmd_AdminServerHalt, CCF_ADMIN, ARGVNoMin, ARGVNoMax, true,"/admin_halt", "");
Search for:
Replace with this:Code:_CC_ALIAS("Á¾·á", "admin_halt");
-----------------------Code:// _CC_ALIAS("Á¾·á", "admin_halt");
Search for:
Replace with:Code:void ChatCmd_AdminServerHalt(const char* line, const int argc, char **const argv) { ZPostAdminHalt(ZGetGameClient()->GetPlayerUID()); }
ZPost.h:Code:/*void ChatCmd_AdminServerHalt(const char* line, const int argc, char **const argv) { ZPostAdminHalt(ZGetGameClient()->GetPlayerUID()); }*/
Search for:
And replace with:Code:inline void ZPostAdminHalt(const MUID& uidChar) { ZPOSTCMD1(MC_ADMIN_SERVER_HALT, MCommandParameterUID(uidChar) ); }
That's all save and build, hope I've helped :)Code:/*inline void ZPostAdminHalt(const MUID& uidChar) { ZPOSTCMD1(MC_ADMIN_SERVER_HALT, MCommandParameterUID(uidChar) ); }*/



Reply With Quote![Disable Admin Server Halt Command [Gunz 1.5]](http://ragezone.com/hyper728.png)


