So, I'm still having problems with clientside.
NPC Code:
//#CLIENTSIDE
if (created) {
this.var=1;
}
if (playertouchsme) {
if (this.var==1) {
if (client.hasflag) {
disabledefmovement;
}
}
}
As you can guess, it doesn't work. I can't seem to figure out why though, but I would guess it has something to do with the this.var.