summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-12 18:19:32 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-12 18:19:32 -0300
commita128a876e368e86cf6075bbd1ff8a7779c30ef20 (patch)
treeac24dd3c16b2768a6362ec8a9bbe9051f5963ace
parentda9945ae7ea7e6d862e12f473812bcccf7ea87c7 (diff)
downloadserverdata-a128a876e368e86cf6075bbd1ff8a7779c30ef20.tar.gz
serverdata-a128a876e368e86cf6075bbd1ff8a7779c30ef20.tar.bz2
serverdata-a128a876e368e86cf6075bbd1ff8a7779c30ef20.tar.xz
serverdata-a128a876e368e86cf6075bbd1ff8a7779c30ef20.zip
Fix doorbells
-rw-r--r--npc/009-6/doorbell.txt4
-rw-r--r--npc/009-7/doorbell.txt4
-rw-r--r--npc/012-8/doorbell.txt4
-rw-r--r--npc/017-7/doorbell.txt4
-rw-r--r--npc/017-8/doorbell.txt4
5 files changed, 10 insertions, 10 deletions
diff --git a/npc/009-6/doorbell.txt b/npc/009-6/doorbell.txt
index 67dda0bf5..2b461e8de 100644
--- a/npc/009-6/doorbell.txt
+++ b/npc/009-6/doorbell.txt
@@ -52,11 +52,11 @@ OnSlide:
// If someone press the doorbell from outside and doorbell is enabled
OnDoorbell:
- if (!$ESTATE_DOORBELL[.id])
+ if ($ESTATE_DOORBELL[.id])
end;
if (.dpost < gettimetick(2)) {
- npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l()
+ npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l()
}
.dpost=gettimetick(2)+.delay;
end;
diff --git a/npc/009-7/doorbell.txt b/npc/009-7/doorbell.txt
index adf96b233..6060d49bd 100644
--- a/npc/009-7/doorbell.txt
+++ b/npc/009-7/doorbell.txt
@@ -52,11 +52,11 @@ OnSlide:
// If someone press the doorbell from outside and doorbell is enabled
OnDoorbell:
- if (!$ESTATE_DOORBELL[.id])
+ if ($ESTATE_DOORBELL[.id])
end;
if (.dpost < gettimetick(2)) {
- npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l()
+ npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l()
}
.dpost=gettimetick(2)+.delay;
end;
diff --git a/npc/012-8/doorbell.txt b/npc/012-8/doorbell.txt
index 3b85335ec..f910556e7 100644
--- a/npc/012-8/doorbell.txt
+++ b/npc/012-8/doorbell.txt
@@ -52,11 +52,11 @@ OnSlide:
// If someone press the doorbell from outside and doorbell is enabled
OnDoorbell:
- if (!$ESTATE_DOORBELL[.id])
+ if ($ESTATE_DOORBELL[.id])
end;
if (.dpost < gettimetick(2)) {
- npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l()
+ npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l()
}
.dpost=gettimetick(2)+.delay;
end;
diff --git a/npc/017-7/doorbell.txt b/npc/017-7/doorbell.txt
index b2009bd00..c343ef1dc 100644
--- a/npc/017-7/doorbell.txt
+++ b/npc/017-7/doorbell.txt
@@ -52,11 +52,11 @@ OnSlide:
// If someone press the doorbell from outside and doorbell is enabled
OnDoorbell:
- if (!$ESTATE_DOORBELL[.id])
+ if ($ESTATE_DOORBELL[.id])
end;
if (.dpost < gettimetick(2)) {
- npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l()
+ npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l()
}
.dpost=gettimetick(2)+.delay;
end;
diff --git a/npc/017-8/doorbell.txt b/npc/017-8/doorbell.txt
index 901d8d2f6..9b1095b38 100644
--- a/npc/017-8/doorbell.txt
+++ b/npc/017-8/doorbell.txt
@@ -52,11 +52,11 @@ OnSlide:
// If someone press the doorbell from outside and doorbell is enabled
OnDoorbell:
- if (!$ESTATE_DOORBELL[.id])
+ if ($ESTATE_DOORBELL[.id])
end;
if (.dpost < gettimetick(2)) {
- npctalk l("@@ is pressing the doorbell.", strcharinfo(0)); // We actually don't want l()
+ npctalk (strcharinfo(0)+" is pressing the doorbell."); // We actually don't want l()
}
.dpost=gettimetick(2)+.delay;
end;