hmm, why the use of findnpc()?
PHP Code:
temp.i = putnpc2(temp.xx,temp.yy,"join shovel_misc1;");
// putnpc2 returns an oject, so 'temp.i' will point to the npc/object that was placed at x,y
with(temp.i) this.owner = playero.account;
and you probably have to use an attr to make the info accessable as Chris said
PHP Code:
temp.i = putnpc2(xx, yy, "");
temp.i.join("shovel_misc1");
temp.i.attr[30] = player.account;
and in shovel_misc1:
PHP Code:
function onCreated() {
echo(this.attr[30]);
}
//#CLIENTSIDE
function onCreated() {
message(this.attr[30]);
}
or something like that