Garry's Mod Wiki

SaveAddonPresets

  SaveAddonPresets( string JSON )

Description

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

You can use LoadAddonPresets to retrieve the data in this file.

Arguments

1 string JSON
The new contents of the file.