Revision Difference
debug.gethook#560119
<function name="gethook" parent="debug" type="libraryfunc">
	<description>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</description>⤶
	<description>⤶
<deprecated></deprecated>⤶
⤶
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</description>⤶
	<realm>Shared and Menu</realm>
	<args>
		<arg name="thread" type="thread" default="nil">Which thread to retrieve its hook from</arg>
	</args>
	<rets>
		<ret name="" type="function">Hook function</ret>
		<ret name="" type="string">Hook mask</ret>
		<ret name="" type="number">Hook count</ret>
	</rets>
</function>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help