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?