diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-05 19:57:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-05 19:57:34 +0300 |
commit | 4bbed18ded183c528aebdf3918d63e06b6896821 (patch) | |
tree | 1dfd2103624a4e4e3585b60dff20db2745beaeca /src/emap/init.c | |
parent | 5c7857eac4512a38cd02843d377430e4a33697af (diff) | |
download | evol-hercules-4bbed18ded183c528aebdf3918d63e06b6896821.tar.gz evol-hercules-4bbed18ded183c528aebdf3918d63e06b6896821.tar.bz2 evol-hercules-4bbed18ded183c528aebdf3918d63e06b6896821.tar.xz evol-hercules-4bbed18ded183c528aebdf3918d63e06b6896821.zip |
Override server gm command @mapexit.s20160706
New format: @mapexit [code]
This command will terminate map server and return status code with value 'code'.
If code missing it return 0.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r-- | src/emap/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c index 3442b26..8f2de51 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -88,6 +88,7 @@ HPExport void plugin_init (void) addAtcommand("setskill", setSkill); addAtcommand("slide", slide); + addAtcommand("mapexit", mapExit); addScriptCommand("chatjoin", "i*", chatJoin); addScriptCommand("setcamnpc", "*", setCamNpc); |