G.GetAddonList

From GMod Wiki

Jump to: navigation, search
Function
Syntax GetAddonList( )
Where is this used?
Description:
Returns the addons you have in your "garrysmod/addons/" directory.
Returns: Table List
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.GetAddonList]G.GetAddonList [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the addons you have installed.
Used onNewerShared.png
Code
PrintTable( GetAddonList() );
OutputPrints the list of addons you have to the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox