Quote:
|
Originally Posted by ZeroTrack
because functions are clientside
|
You call yourself a scripter?
Edit:
I would do this
PHP Code:
function spawn() {
setstring this.type,Undead;
putnpc2 x,y,{
join temporary;
join baddy;
};
with(npcs[npcscount-1]) {
setstring this.type,#s(thiso.type);
setstring this.owner,Baddy;
callnpc -1,typeset;
}
}
//class
if(typeset) sendtonc Type: #s(this.type);