09/05/21, 10:25 PM
|
#2
|
Join Date: Jan 2016
Posts: 409
|
Looks like that function does not exist. (/script d(ZO_PreHookProtected) --> nil ) When looking at lua errors, just 'nil found' could mean multiple possible errors, so it's best to actually say exactly what the error says. Plus, looking at line numbers can help as well. In this case, it's "function expected instead of nil". Which says that you're trying to use a function that does not exist. Checking the line numbers would say that it's occuring at the line you attempt to call the function, and not within any other function definitions.
You can check out all the available hook functions here: https://github.com/esoui/esoui/blob/...ty/zo_hook.lua
|
|
|