View Single Post
  #1  
Old 10-04-2006, 08:41 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Weapon Attr's Serverside to Clientside

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?
__________________

Reply With Quote