View Single Post
  #3  
Old 08-26-2002, 12:02 AM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Ok that works fine now, But the second one still doesnt work:

NEW First:

NPC Code:

// NPC made by Spark911
if (created) {
x=27;
y=37;
}
if (playerenters) {
x=27;
y=37;
timeout=0.1;
}
//#CLIENTSIDE
if (timeout) {
if (mousex=>27&&mousex=<28&&mousey=>37&&mousey=<38) {
setstring server.npc,Ralf;
}
else {
setstring server.npc,;
unset string;
}
timeout=0.1;
}



New Second:

NPC Code:

// NPC made by Spark911
if (created) {
x=31;
y=37;
}
if (playerenters) {
x=31;
y=37;
timeout=0.1;
}
//#CLIENTSIDE
if (timeout) {
if (mousex=>31&&mousex=<32&&mousey=>37&&mousey=<38) {
setstring server.npc,Ralf;
}
else {
setstring server.npc,;
unset string;
}
timeout=0.1;
}



New Displayer:

NPC Code:

// NPC made by Spark911
if (playerenters) {
x=31.5;
y=58.25;
timeout=0.1;
}

if (timeout) {
message #s(server.npc);
timeout=0.1;
}




Still only first one works (Eventually it will be put in about 17NPC's)
Reply With Quote