From 4bbed18ded183c528aebdf3918d63e06b6896821 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Jul 2016 19:57:34 +0300 Subject: Override server gm command @mapexit. New format: @mapexit [code] This command will terminate map server and return status code with value 'code'. If code missing it return 0. --- src/emap/init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emap/init.c') 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); -- cgit v1.2.3-70-g09d2