ZO_PreHookProtected
Anyone know of an example of how to use ZO_PreHookProtected with UseItem?
I found some information and thought this would work:
ZO_PreHookProtected('UseItem', CheckItem) where CheckItem is my function. That throws a "nil found" error when loading.
Thanks in advance for any help.
|