diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-10 19:44:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-10 19:44:15 +0300 |
commit | 5a06329b9d01b7c250e27843f0634b238aac90b7 (patch) | |
tree | 75c704416a4647b4b2e527598ab8262cfc0d9857 /src/emap/init.c | |
parent | 409da45527ce8b6ba82523d4f3ce1abaf4650906 (diff) | |
download | evol-hercules-5a06329b9d01b7c250e27843f0634b238aac90b7.tar.gz evol-hercules-5a06329b9d01b7c250e27843f0634b238aac90b7.tar.bz2 evol-hercules-5a06329b9d01b7c250e27843f0634b238aac90b7.tar.xz evol-hercules-5a06329b9d01b7c250e27843f0634b238aac90b7.zip |
Add console command serverexit.
It works in same way with gm command serverexit.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index cb14450..0082bd8 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -48,6 +48,7 @@ #include "emap/battleground.h" #include "emap/clif.h" #include "emap/config.h" +#include "emap/console.h" #include "emap/craft.h" #include "emap/craftconf.h" #include "emap/hashtable.h" @@ -96,6 +97,8 @@ HPExport void plugin_init (void) addAtcommand("mapexit", mapExit); addAtcommand("serverexit", serverExit); + addCPCommand("serverexit", serverExit); + addScriptCommand("chatjoin", "i*", chatJoin); addScriptCommand("setcamnpc", "*", setCamNpc); addScriptCommand("setcam", "ii", setCam); |