added CUI function for createuseableitem. will add support for other frameworks in the future
This commit is contained in:
1 parent
3043ecd924
commit
b56e585691
16 files changed
+66
-71
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ RegisterServerEvent('md-drugs:server:givelean', function()
|
||||
end
|
||||
end)
|
||||
|
||||
QBCore.Functions.CreateUseableItem('leancup', function(source, item)
|
||||
CUI('leancup', function(source, item)
|
||||
if Itemcheck(source, 'leancup', 1) then
|
||||
TriggerClientEvent('md-drugs:client:leancraft', source)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user