View Single Post
  #2  
Old 10-04-2006, 09:06 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by ZeroTrack View Post
Umm shouldn't this work???

PHP Code:
function onActionserverside(){
  
returnval findnpc("temp1").test;
  
this.attr[1] = returnval;
}

//#CLIENTSIDE
function onCreated() { 
  
triggeraction(0,0,"serverside","Temp","");
  
checkReturn();
}

function 
checkReturn() player.chat findweapon("Temp").attr[1]; 

Even tried first to do this.attr[1] but it didn't read thats when i used findweapon... but i can read the attr serverside... This is supposed to work does it not?
I have never heard of weapons having attr's, but I am sure players do =o
Reply With Quote