Page 2 of 2

Re: [Mod-Assets] Keys in locks. (re-usable keys)

Posted: Mon Dec 21, 2015 6:24 am
by Vandalar
Then, I beleive this should do the trick (add inside a function and associate it with onInsertItem hook of the lock):

Code: Select all

	local itemObj = self.go.socket:getItem()
	itemObj.go.item:disable()
Vand