📨geni_notify
Config = {
Themes = {
["info"] = {icon = "files/info.png", color = "#ffaf4e", background = "rgba(255, 175, 78, 0.16)"},
["success"] = {icon = "files/success.png", color = "#3693ed", background = "rgba(54, 147, 237, 0.16)"},
["error"] = {icon = "files/error.png", color="#f34c54", background = "rgba(243, 76, 84, 0.16)"},
["lsms"] = {icon = "files/lsms.png", color = "#FF2540", background = "rgba(243, 76, 84, 0.16)"},
["lspd"] = {icon = "files/lspd.png", color = "#987944", background = "rgba(54, 147, 237, 0.16)"},
["twitter"] = {icon = "files/twitter.png", color = "#15caec", background = "rgba(21, 202, 236, 0.16)"},
["instagram"] = {icon = "files/instagram.png", color = "#dc861f", background = "rgba(228, 43, 183, 0.16)"},
["question1"] = {icon = "files/question1.png", color = "#FF5A6F", background = "rgba(255, 90, 111, 0.16)"},
["question2"] = {icon = "files/question2.png", color = "#929292", background = "rgba(146, 146, 146, 0.16)"}
}
}
function Config.HUDEvent(state)
TriggerEvent('qb-hud:setState', state)
end
RegisterNetEvent("QBCore:Client:OnPlayerLoaded", function()
local notifySettings = GetResourceKvpString('notifySettings')
if notifySettings then loadSettings(json.decode(notifySettings)) end
end)
Last updated