Barra de progresso

Personalizar titulo padrão

customization/index.lua
local settings = visualSettings:new()
local settingsTable = settings:get()

settingsTable.customisation.progressDefaultTitle = "Minha barra de progresso personalizada!"
settings:set(settingsTable)

Personalizar evento de chamada

TriggerEvent("progressEvent", 5000, "Minha barra de progresso personalizada!")

Personalizando com CSS

TriggerEvent("progressEvent", 5000, "Em <b style='color: #7D5BF0'>Progresso</b>")
customization/index.lua
local settings = visualSettings:new()
local settingsTable = settings:get()

settingsTable.customisation.progressDefaultTitle = "Em <b style='color: #7D5BF0'>Progresso</b>"
settings:set(settingsTable)

Last updated