View Single Post
  #1  
Old 10-02-2001, 08:18 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
Will this work online

will this work on a pw with no npc server?
NPC Code:

// NPC made by unknown
// Hirathia Door Script
// Urond's Tavern
if (created) {
setimg newdoor.gif;
this.Door1 = 1;
}
if (playerchats && strequals(#a,Metal-Slug) && startswith(Door, #c)) {
setstring Doormessage1,#c;
message #s(Doormessage1);
}
if (playerchats && strequals(#a,Metal-Slug) && strequals(#c,Door Closed)) {
this.Door1 = 1;
}
if (this.Door1 = 1 && playertouchsme) {
say2 Sorry
#bThis door is locked;
}
if (playerchats && strequals(#a,Metal-Slug) && strequals(#c,Door Opened)) {
this.Door1 = 0;
}
if (this.Door1 = 0 && playertouchsme) {
setlevel2 metal-slugbar.nw,30.5,57;
}


i know it works off line, but im not sure if the this.Door1 stuff is online stuff
Reply With Quote