usermessage.GetTable

From GMod Wiki

Revision as of 19:30, 28 May 2011 by Remscar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax usermessage.GetTable( )
Where is this used?
Description:
Returns a table of hooked usermessages
Returns: nil
Part of Library: usermessage
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Usermessage.GetTable]Usermessage.GetTable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints all usermessage hooks in console
Used onNewerClient.png
Code
function umsg_hooks()
    PrintTable(usermessage.GetTable())
end
 
concommand.Add( "UsermessageHooks", umsg_hooks )
OutputN/A


Additional Notes

This will return a table, full of tables, that each have the function and prearguments for each usermessage.

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox