Update functions.lua
This commit is contained in:
1 parent
bc83756701
commit
a8db1ff11d
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user