more documentation
This commit is contained in:
1 parent
79ca0bc65a
commit
ce1903b7d6
15 files changed
+140
-106
No files matched your search
@@ -2,6 +2,11 @@ Notify = Notify or {}
|
||||
local notifyType = BridgeClientConfig.NotifySystem
|
||||
local helptextType = BridgeClientConfig.ShowHelpText
|
||||
|
||||
---comment
|
||||
---@param message string
|
||||
---@param _type string
|
||||
---@param time number
|
||||
---@return nil
|
||||
Notify.SendNotify = function(message, _type, time)
|
||||
time = time or 3000
|
||||
if notifyType == 'qb' then
|
||||
@@ -27,6 +32,10 @@ Notify.SendNotify = function(message, _type, time)
|
||||
end
|
||||
end
|
||||
|
||||
---comment
|
||||
---@param message string
|
||||
---@param _position string
|
||||
---@return nil
|
||||
Notify.ShowHelpText = function(message, _position)
|
||||
if helptextType == 'ox' then
|
||||
if _position == nil then _position = 'left-center' end
|
||||
|
||||
Reference in new issue
Block a user