local inicfg = require 'inicfg'
function main()
while not isSampAvailable do wait(0) end
local set = inicfg.load({color = { progress = 0xFF00CCFF, outline = 0xFF000000, background = 0xFF0099CC}})
inicfg.save(set)
while true do wait(0)
if sampTextdrawIsExists(2070) then
local box, color, sizeX, sizeY = sampTextdrawGetBoxEnabledColorAndSize(2070)
sampTextdrawSetBoxColorAndSize(2070, box, set.color.progress, sizeX, sizeY)
end
if sampTextdrawIsExists(114) then
local box, color, sizeX, sizeY = sampTextdrawGetBoxEnabledColorAndSize(114)
sampTextdrawSetBoxColorAndSize(114, box, set.color.background, sizeX, sizeY)
end
if sampTextdrawIsExists(115) then
local box, color, sizeX, sizeY = sampTextdrawGetBoxEnabledColorAndSize(115)
sampTextdrawSetBoxColorAndSize(115, box, set.color.outline, sizeX, sizeY)
end
end
end