Garry's Mod Wiki

engine.GetAddons

engine.GetAddons

table engine.GetAddons()

Description

Returns a list of addons the player have subscribed to on the workshop.

This list will also include "Floating" .gma addons that are mounted by the game, but not the folder addons.

Returns

1 table
A table with 8 keys (downloaded, models, title, file, mounted, wsid, size, updated).

Example

Will return a list of all the workshop addons you have downloaded / are downloading.

Output:
1: downloaded = true models = 0 title = Title of Addon file = addons/title_of_addon_123456789.gma mounted = true wsid = 123456789 size = 13379999 updated = 37419284747 tags = timeadded = 4157213484

Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 42
Generate Html 4
SaveChanges (1) 7
Render Body 0
Render Sidebar 8