Garry's Mod Wiki

LoadAddonPresets

  string LoadAddonPresets()

Description

Returns the contents of addonpresets.txt located in the garrysmod/settings folder. By default, this file stores your addon presets as JSON.

You can use SaveAddonPresets to modify this file.

Returns

1 string JSON
The contents of the file.