debug.gethook
From GMod Wiki
Function | |
Syntax |
debug.gethook( Thread thread ) Where is this used? |
Description: | |
Returns the current hook settings of the thread, as three values: the current hook function, the current hook mask, and the current hook count (as set by the debug.sethook function). | |
Returns: | Function hook, String mask, Integer count |
Part of Library: | Debug |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Debug.gethook]Debug.gethook [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- As of the August 2, 2007 update to GMod, the debug hook facilities have been dedicated to running the Infinite Loop protection.