summaryrefslogtreecommitdiff
path: root/npc/functions/timer.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-16 00:43:52 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-16 00:43:52 -0300
commitc80e4d95db756c941ccc8d0ea3813971cc0672ca (patch)
treecba40d333edf55efe2e266b4167f1cd921a02065 /npc/functions/timer.txt
parent1459cd08f144984695e249a086d9d4f0803e3376 (diff)
downloadserverdata-c80e4d95db756c941ccc8d0ea3813971cc0672ca.tar.gz
serverdata-c80e4d95db756c941ccc8d0ea3813971cc0672ca.tar.bz2
serverdata-c80e4d95db756c941ccc8d0ea3813971cc0672ca.tar.xz
serverdata-c80e4d95db756c941ccc8d0ea3813971cc0672ca.zip
Add several stuff and several bugfixes (specially hidden errors).
Most importantly, apartment system, a branch from Real Estate System.
Diffstat (limited to 'npc/functions/timer.txt')
-rw-r--r--npc/functions/timer.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/timer.txt b/npc/functions/timer.txt
index 17a7d4b68..5d7466d0f 100644
--- a/npc/functions/timer.txt
+++ b/npc/functions/timer.txt
@@ -29,6 +29,13 @@ function script areatimer2 {
return .@i;
}
+// addtimer2(<tick>, "<npc>::<event>")
+function script addtimer2 {
+ deltimer(getarg(1));
+ addtimer(getarg(0), getarg(1));
+ return .@i;
+}
+
// maptimer("<map>", <tick>, "<npc>::<event>")
function script maptimer {