diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 16:17:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 16:17:42 +0300 |
commit | 856f57d7fb05806cd676112a389ecf8be5ecf54e (patch) | |
tree | 7b21a2c6989de6b79d61acaa7d3a1c663a76fd14 /src/map/init.c | |
parent | 4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188 (diff) | |
download | plugin-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.gz plugin-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.bz2 plugin-856f57d7fb05806cd676112a389ecf8be5ecf54e.tar.xz plugin-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.c | 1 |
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(); |