---@diagnostic disable: duplicate-set-field

This commit is contained in:
MrNewb committed 2025-06-08 19:52:24 -04:00
1 parent 33868c43c4
commit 3ff7bf2fea
9 files changed
+9 -27

No files matched your search

+1 -5
View File
@@ -1,6 +1,6 @@
---@diagnostic disable: duplicate-set-field
Notify = Notify or {}
---@diagnostic disable-next-line: duplicate-set-field
Notify.GetResourceName = function()
return "none"
end
@@ -10,7 +10,6 @@ end
---@param _type string
---@param time number
---@return nil
---@diagnostic disable-next-line: duplicate-set-field
Notify.SendNotify = function(message, _type, time)
time = time or 3000
return Framework.Notify(message, nil, time)
@@ -21,10 +20,8 @@ RegisterNetEvent('community_bridge:Client:Notify', function(message, _type, time
end)
---------[[Depricated Stuff Below, please adjust to the HelpText module instead]]--------
---Depricated: This will hide the help text message on the screen
---@return nil
---@diagnostic disable-next-line: duplicate-set-field
Notify.HideHelpText = function()
return HelpText.HideHelpText()
end
@@ -32,7 +29,6 @@ end
---Depricated: This will show a help text message at the screen position passed
---@param message string
---@return nil
---@diagnostic disable-next-line: duplicate-set-field
Notify.ShowHelpText = function(message, position)
return HelpText.ShowHelpText(message, position)
end