summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-06-05 23:53:31 -0300
committerJesusaves <cpntb1@ymail.com>2022-06-05 23:53:31 -0300
commitdf6bcf475ae1b6abd1d15469176c3d1d918a48fb (patch)
treef5a6343c5f53cd0813521fa150ff10194122520a /npc/functions
parentb40a03c376451ac9e5aaec884067e4bfc13fe80f (diff)
downloadserverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.gz
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.bz2
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.tar.xz
serverdata-df6bcf475ae1b6abd1d15469176c3d1d918a48fb.zip
Maybe this fix the bug
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index bc76b5361..ac864a125 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -71,9 +71,9 @@ function script DelChrRegFromEveryPlayer {
.@c = getunits(BL_PC, .@players, MAX_CYCLE_PC);
for (.@i = 0; .@i < .@c; .@i++) {
if (compare(getarg(0), "$"))
- setd(getarg(0), "");
+ setd(str(getarg(0)), "");
else
- setd(getarg(0), 0);
+ setd(str(getarg(0)), 0);
}
return;
}