Skip to content

Commit

Permalink
fix(server/txadmin): notification override convar (overextended#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
demxnn authored May 12, 2023
1 parent 2199079 commit b4d9cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/interface/server/txadmin.lua
Original file line number Diff line number Diff line change
@@ -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, {
Expand Down

0 comments on commit b4d9cff

Please sign in to comment.