summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-02 12:41:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-02 13:32:43 +0300
commit1d23256b629c02102f57b6262d261c6a4c986887 (patch)
tree5be656e8f0c4126ee8820c1d15f0d7134a211723 /src/map/init.c
parent6091f2d963bdff2e62176d9a668943ee02f57043 (diff)
downloadplugin-1d23256b629c02102f57b6262d261c6a4c986887.tar.gz
plugin-1d23256b629c02102f57b6262d261c6a4c986887.tar.bz2
plugin-1d23256b629c02102f57b6262d261c6a4c986887.tar.xz
plugin-1d23256b629c02102f57b6262d261c6a4c986887.zip
Add script command to call timer on players in area.
New script command: areatimer map, x1, y1, x2, y2, tick, event
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 f53de01..cb8eece 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -95,6 +95,7 @@ HPExport void plugin_init (void)
addScriptCommand("getmapname", "", getMapName);
addScriptCommand("unequipbyid", "i", unequipById);
addScriptCommand("ispcdead", "", isPcDead);
+ addScriptCommand("areatimer", "siiiii*", areaTimer);
do_init_langs();