G.GetAddonInfo

From GMod Wiki

Revision as of 20:42, 25 January 2011 by Cube334 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax GetAddonInfo( String name of an addon[s] folder. )
Where is this used?
Description:
Returns the information about the addon[s].
Returns: Table Information about the addon[s].
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetAddonInfo]G.GetAddonInfo [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the information about the addons.
Used onNewerShared.png
Code
PrintTable(GetAddonInfo(GetAddonList()[1]))
OutputPrints the information about the addon[s] to the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox