Garry's Mod Wiki

debug.gethook

function, string, number debug.gethook( thread thread = nil )

Description

Returns the current hook settings of the passed thread. The thread argument can be omitted. This is unrelated to . More information on hooks can be found at http://www.lua.org/pil/23.2.html

Arguments

1 thread thread = nil
Which thread to retrieve its hook from

Returns

1 function
Hook function
2 string
Hook mask
3 number
Hook count

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 2
Generate Html 10
SaveChanges 10
Render Body 0
Render Sidebar 11