summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-05 20:07:35 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-05 20:07:35 -0200
commit755cf957734dea23c0d4b8ac348ddc7400c8dbb9 (patch)
treebce221f8304271b69e405f7cfca83aacdad20abd /npc/functions/main.txt
parent93486c9fb8475ea51916d6b9ce329a329554669b (diff)
downloadserverdata-755cf957734dea23c0d4b8ac348ddc7400c8dbb9.tar.gz
serverdata-755cf957734dea23c0d4b8ac348ddc7400c8dbb9.tar.bz2
serverdata-755cf957734dea23c0d4b8ac348ddc7400c8dbb9.tar.xz
serverdata-755cf957734dea23c0d4b8ac348ddc7400c8dbb9.zip
I still need to check if mesn is not doing pollution on functions
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 05ec73fc1..4a6f89d80 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -41,12 +41,9 @@ function script setqtime {
}
function script mesn {
- if (getargcount() > 0)
- {
+ if (getargcount() > 0) {
.@s$ = "[" + getarg(0) + "]";
- }
- else
- {
+ } else {
.@s$ = "[" + strnpcinfo(1) + "]";
}
mes .@s$;