re-add requestanimdict, add notify/showhelp to the frameworks that offer it

qbx uses ox's so no point
This commit is contained in:
MrNewb committed 2025-02-05 22:51:43 -05:00
1 parent 0e28c3f1e4
commit 2fa129dddd
3 files changed
+26 -16

No files matched your search

+12
View File
@@ -17,6 +17,18 @@ Framework.GetPlayerMetaData = function(metadata)
return QBCore.Functions.GetPlayerData().metadata[metadata]
end
Framework.Notify = function(message, type, time)
TriggerEvent('QBCore:Notify', message, 'primary', time)
end
Framework.ShowHelpText = function(message, _position)
return exports['qb-core']:DrawText(message, _position)
end
Framework.HideHelpText = function()
return exports['qb-core']:HideText()
end
Framework.GetItemInfo = function(item)
local itemData = QBCore.Shared.Items[item]
if not itemData then return {} end