Thread: warp
View Single Post
  #18  
Old 12-02-2005, 04:23 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
doesn't work and the action IS being called
NPC Code:
// NPC made by Excaliber
if(created){
setshape 1,32,64;
}

if(actionsword){
if(strequals(#p(0),sword)){
playerswordpower = 5;
}
}
//#CLIENTSIDE
if (playertouchsme) {
setplayerprop #1,hot-sword.gif;
playerswordpower = 5;
setsword hot-sword.gif,5;
say2 A NEW SWORD!;
triggeraction x,y,sword,sword;
}

Reply With Quote