Quote:
Originally Posted by kingcj
A trigger won't work clientside from the DB I don't think, but I don't really know. I don't understand why it won't pick this up as a function though? A trigger would be great if I could work it server to client and client to server without it being a weapon, unfortunately I have tried this.
|
Leads me to believe your door script looks like..
PHP Code:
//#CLIENTSIDE
function onCreated() {
SwitchDB = findnpc("SwitchDB");
SwitchDB.addDoor("door_a", this);
}
public function doorOpen() {
this.hide();
sleep(3);
this.show();
}
which won't work because you can't call directly from server-side to client-side like that.