Module cl_configs

Config Module

Functions

SetConfig (addon, value) SetConfig function.
GetConfig (addon) GetConfig function.


Functions

SetConfig (addon, value)
SetConfig function. This function sets the config of an addon.

Parameters:

  • addon The addon. string
  • value The value. table

Usage:

    exports.sd_util:SetConfig("addon", { ["key"] = "value" })
GetConfig (addon)
GetConfig function. This function returns the config of an addon.

Parameters:

  • addon The addon. string

Returns:

    table

Usage:

    local config = exports.sd_util:GetConfig("addon")
generated by LDoc 1.5.0 Last updated 2023-11-28 19:34:18