summaryrefslogtreecommitdiff
path: root/npc/custom/etc/morroc_raceway.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/custom/etc/morroc_raceway.txt
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/custom/etc/morroc_raceway.txt')
-rw-r--r--npc/custom/etc/morroc_raceway.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/custom/etc/morroc_raceway.txt b/npc/custom/etc/morroc_raceway.txt
index 87f91ff7e..745b1d779 100644
--- a/npc/custom/etc/morroc_raceway.txt
+++ b/npc/custom/etc/morroc_raceway.txt
@@ -74,7 +74,7 @@ L_Menu:
addtimer 2000, "Starter::OnCount2000";
addtimer 3000, "Starter::OnCount3000";
addtimer 4000, "Starter::OnCount4000";
- announce strcharinfo(0) + "Started a countdown",1;
+ announce strcharinfo(PC_NAME) + "Started a countdown",1;
announce "Get ready to race!",1;
close;
@@ -135,7 +135,7 @@ pvp_y_1-5,73,247,5 script Check Point 2 HIDDEN_NPC,6,6,{
OnTouch:
if (@race != 1) goto L_Miss;
set @race,2;
- announce "[" + strcharinfo(0) +"] has reached Checkpoint [1]",1;
+ announce "[" + strcharinfo(PC_NAME) +"] has reached Checkpoint [1]",1;
end;
L_Miss:
mes "You have missed a Checkpoint. Please go back.";
@@ -148,7 +148,7 @@ pvp_y_1-5,77,44,5 script Check Point 3 HIDDEN_NPC,6,6,{
OnTouch:
if (@race != 2) goto L_Miss;
set @race,3;
- announce "[" + strcharinfo(0) +"] has reached Checkpoint [2]",1;
+ announce "[" + strcharinfo(PC_NAME) +"] has reached Checkpoint [2]",1;
end;
L_Miss:
mes "You have missed a Checkpoint. Please go back.";
@@ -161,7 +161,7 @@ pvp_y_1-5,249,60,5 script Check Point 4 HIDDEN_NPC,6,6,{
OnTouch:
if (@race != 3) goto L_Miss;
set @race,4;
- announce "[" + strcharinfo(0) +"] has reached Checkpoint [3]",1;
+ announce "[" + strcharinfo(PC_NAME) +"] has reached Checkpoint [3]",1;
end;
L_Miss:
mes "You have missed a Checkpoint. Please go back.";
@@ -174,7 +174,7 @@ pvp_y_1-5,255,256,5 script Check Point 5 HIDDEN_NPC,6,6,{
OnTouch:
if (@race != 4) goto L_Miss;
set @race,5;
- announce "[" + strcharinfo(0) +"] has reached Checkpoint [4]",1;
+ announce "[" + strcharinfo(PC_NAME) +"] has reached Checkpoint [4]",1;
end;
L_Miss:
mes "You have missed a Checkpoint. Please go back.";
@@ -189,7 +189,7 @@ OnTouch:
if (@race != 5) goto L_Miss;
set @race,6;
set $@position,$@position+1;
- announce "[" + strcharinfo(0) +"] has reached The Finish line! [Position: " + $@position + "]",1;
+ announce "[" + strcharinfo(PC_NAME) +"] has reached The Finish line! [Position: " + $@position + "]",1;
end;
L_Miss:
mes "You have missed a Checkpoint. Please go back.";