summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-28 16:11:01 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-28 16:11:01 -0300
commitd451a097f3ddc03c2552a8962fe86316440884ec (patch)
tree387c55e55f6371d4fc42b0e7050b9c78f8fa459d /npc/functions
parent99e6981142744c1853c3c44a1cd289426313a8a8 (diff)
downloadserverdata-d451a097f3ddc03c2552a8962fe86316440884ec.tar.gz
serverdata-d451a097f3ddc03c2552a8962fe86316440884ec.tar.bz2
serverdata-d451a097f3ddc03c2552a8962fe86316440884ec.tar.xz
serverdata-d451a097f3ddc03c2552a8962fe86316440884ec.zip
Note: instance_attach() can't deal with instance variables
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/timer.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/timer.txt b/npc/functions/timer.txt
index ac7d130bd..ee96b2191 100644
--- a/npc/functions/timer.txt
+++ b/npc/functions/timer.txt
@@ -70,7 +70,7 @@ function script mapdeltimer {
function script partytimer {
.@c = getunits(BL_PC, .@players, false, getarg(0));
for (.@i = 0; .@i < .@c; .@i++) {
- if (getcharid(2, strcharinfo(0,"",.@players[.@i]) ) == getarg(3))
+ if (getcharid(1, strcharinfo(0,"",.@players[.@i]) ) == getarg(3))
addtimer(getarg(1), getarg(2), .@players[.@i]);
}
return .@i;