debug.gethook
Description
We advise against using this. It may be changed or removed in a future update.
Returns the current hook settings of the passed thread. The thread argument can be omitted. This is completely different to gamemode hooks. More information on hooks can be found at http://www.lua.org/pil/23.2.html. This function will simply return the function, mask, and count of the last called debug.sethook.
Arguments
Returns
Page views: 16,525
Updated: This Year
Updated: This Year