Documentation, deprecated old points, removed incomplete clothing bridge.
Documentation added, deprecated old points, removed incomplete clothing bridge. I migrated the points into the new system and added deprecation notices. Cleaned some white spaces because they made me unhappy. Added GetStreetNameAtCoords as it may be useful to return a string for others. Added support for lb-tablet dispatch alerts (thank you loaf)
This commit is contained in:
1 parent
3e936d2c1c
commit
6bdee6ad91
27 files changed
+276
-411
No files matched your search
@@ -2,7 +2,7 @@ Notify = Notify or {}
|
||||
local notifyType = BridgeClientConfig.NotifySystem
|
||||
local helptextType = BridgeClientConfig.ShowHelpText
|
||||
|
||||
---comment
|
||||
---This will send a notify message of the type and time passed
|
||||
---@param message string
|
||||
---@param _type string
|
||||
---@param time number
|
||||
@@ -34,7 +34,7 @@ Notify.SendNotify = function(message, _type, time)
|
||||
end
|
||||
end
|
||||
|
||||
---comment
|
||||
---This will show a help text message at the screen position passed
|
||||
---@param message string
|
||||
---@param _position string
|
||||
---@return nil
|
||||
@@ -61,6 +61,8 @@ Notify.ShowHelpText = function(message, _position)
|
||||
end
|
||||
end
|
||||
|
||||
---This will hide the help text message on the screen
|
||||
---@return nil
|
||||
Notify.HideHelpText = function()
|
||||
if helptextType == 'ox' then
|
||||
return exports.ox_lib:hideTextUI()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Notify = Notify or {}
|
||||
|
||||
---comment
|
||||
---This will send a notification to the specified player of the passed message and type
|
||||
---@param src number
|
||||
---@param message string
|
||||
---@param _type string
|
||||
@@ -9,7 +9,7 @@ Notify.SendNotify = function(src, message, _type, time)
|
||||
TriggerClientEvent('community_bridge:Client:Notify', src, message, _type, time)
|
||||
end
|
||||
|
||||
---comment
|
||||
---This will show a help text message to the specified player at the screen position passed
|
||||
---@param src number
|
||||
---@param message string
|
||||
---@param position string
|
||||
@@ -17,6 +17,8 @@ Notify.ShowHelpText = function(src, message, position)
|
||||
TriggerClientEvent('community_bridge:Client:ShowHelpText', src, message, position)
|
||||
end
|
||||
|
||||
---This will hide the help text message on the screen for the specified player
|
||||
---@param src number
|
||||
Notify.HideHelpText = function(src)
|
||||
TriggerClientEvent('community_bridge:Client:HideHelpText', src)
|
||||
end
|
||||
Reference in new issue
Block a user