NPC Code:
if (playerenters) {
if (this.last_opened + 2 < timevar2)
show;
}
if (playertouchsme) {
hide;
this.last_opened = timevar2;
timeout = 2;
}
if (timeout) {
show;
}
Why is your door hiding clientside? Do you want people to appear to magically pass through closed doors?