getConfig

Returns any part of (or the whole) config table.

-- ARGUMENTS
-- key: string (OPTIONAL)

-- RETURNS
-- any

local t = exports["ti_fuel"]:getConfig("fuelTypes")
local a = exports["ti_fuel"]:getConfig()

Last updated