added CUI function for createuseableitem. will add support for other frameworks in the future

This commit is contained in:
Mustache Dom committed 2024-12-12 17:26:08 -08:00
1 parent 3043ecd924
commit b56e585691
16 files changed
+66 -71

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ local Price = {
}
for k, v in pairs (burners) do
QBCore.Functions.CreateUseableItem(k, function(source, item)
CUI(k, function(source, item)
local src = source
local Player = getPlayer(src)
if getCops() < Config.PoliceCount then return Notifys(src, Lang.Wholesale.na, 'error') end