well im doing this basically:
NPC Code:
if (actionserverside) {
putnpc2 playerx+3,playery,{
setstring num,#p(0);
setgif door.png;
message #s(num);
}
}
I dont think that is right, but i dont know how x.x
::EDIT
Someone suggested doing:
NPC Code:
with (getnpc(npcscount-1)) {
setstring num,#p(0);
}