diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-04-28 16:11:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-04-28 16:11:01 -0300 |
commit | d451a097f3ddc03c2552a8962fe86316440884ec (patch) | |
tree | 387c55e55f6371d4fc42b0e7050b9c78f8fa459d /npc/functions | |
parent | 99e6981142744c1853c3c44a1cd289426313a8a8 (diff) | |
download | serverdata-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.txt | 2 |
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; |