summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-05 19:12:18 +0000
committerAndrei Karas <akaras@inbox.ru>2019-04-05 19:12:18 +0000
commitf170e1cbb556b491a7ba7a74a26d19ab174752f0 (patch)
treeaf9ad782b1fd1fc970525120eb6169e21a8e14ec /src/emap/init.c
parentd9711288beba1ed7320f30252f1a1a2035da4023 (diff)
downloadevol-hercules-f170e1cbb556b491a7ba7a74a26d19ab174752f0.tar.gz
evol-hercules-f170e1cbb556b491a7ba7a74a26d19ab174752f0.tar.bz2
evol-hercules-f170e1cbb556b491a7ba7a74a26d19ab174752f0.tar.xz
evol-hercules-f170e1cbb556b491a7ba7a74a26d19ab174752f0.zip
Implement sendMapMask() which sends a custom map mask only to a specified user.
Remember to use getmapmask() before!
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 31656ef..d8a6d12 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -153,6 +153,7 @@ HPExport void plugin_init (void)
addScriptCommand("npcwalkto", "ii", npcWalkTo);
addScriptCommand("rif", "is*", rif);
addScriptCommand("setmapmask", "si", setMapMask);
+ addScriptCommand("sendmapmask", "i*", sendMapMask);
addScriptCommand("addmapmask", "si", addMapMask);
addScriptCommand("removemapmask", "si", removeMapMask);
addScriptCommand("getmapmask", "s", getMapMask);