From b4d9cffb312ef820e37aba18584d1494f282a942 Mon Sep 17 00:00:00 2001 From: Demetrio <15928886+0xDEMXN@users.noreply.github.com> Date: Fri, 12 May 2023 05:10:28 +0200 Subject: [PATCH] fix(server/txadmin): notification override convar (#325) --- resource/interface/server/txadmin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/interface/server/txadmin.lua b/resource/interface/server/txadmin.lua index cff60f54..c4892f01 100644 --- a/resource/interface/server/txadmin.lua +++ b/resource/interface/server/txadmin.lua @@ -1,4 +1,4 @@ -if GetConvarInt('ox:txAdminNotifications', false) then +if GetConvarInt('ox:txAdminNotifications', false) == 1 then if GetConvar('txAdmin-hideDefaultAnnouncement', 'false') == 'true' then AddEventHandler('txAdmin:events:announcement', function(eventData) TriggerClientEvent('ox_lib:notify', -1, {