Using numpad.Activate to open a Fading Door

Hello

I have Fading Doors installed on my test server and when a user presses E on an ent(which I have setup) then I have the following code run:



timer.Simple(1 , function()
	numpad.Activate(self.owner, self.accept_key, true) // Start the keypress 
end)
timer.Simple(5, function()
	numpad.Deactivate(self.owner, self.accept_key, true) // End the keypress
end)


self.owner and self.accept_key are both set how they should be.

What’s your question?

It doesn’t work, sorry forgot to add that part.

Also I just fixed it, it turns out when I was setting self.accept_key I had a spelling mistake :frowning: