summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-01 16:17:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-01 16:17:42 +0300
commit856f57d7fb05806cd676112a389ecf8be5ecf54e (patch)
tree7b21a2c6989de6b79d61acaa7d3a1c663a76fd14 /src/map/init.c
parent4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188 (diff)
downloadevol-hercules-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.gz
evol-hercules-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.bz2
evol-hercules-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.xz
evol-hercules-856f57d7fb05806cd676112a389ecf8be5ecf54e.zip
Add script command for send chat command to client.
New script command: clientCommand chatcommand args
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 5327532..e19224a 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -109,6 +109,7 @@ HPExport void plugin_init (void)
addScriptCommand("areatimer", "siiiii*", areaTimer);
addScriptCommand("getareadropitem", "siiiiv*", getAreaDropItem);
addScriptCommand("setmount", "?", setMount);
+ addScriptCommand("clientcommand", "s", clientCommand);
do_init_langs();