Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-05-03 00:00:39 -07:00
1 parent bc83756701
commit a8db1ff11d
1 file changed
+1
+1
View File
@@ -132,6 +132,7 @@ function PoliceCall(chance)
end
function GetCops(number)
if number == 0 then return true end
QBCore.Functions.TriggerCallback('md-drugs:server:GetCoppers', function(amount)
if amount >= number then return amount == true else Notify('You Need '.. number - amount .. ' More Cops To Do This', 'error') end