Quote:
|
Originally Posted by Googi
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.
|
Sir your wrong.client.hasflag is not beeing executed.Alls your script says is when this.var,1 is set and client.hasflag it will disabledefmovement.i dont see setstring client.hasflag,; or set client.hasflag;