diff --git a/client/functions.lua b/client/functions.lua index 07a08b6..0d16b77 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -132,7 +132,7 @@ function PoliceCall(chance) end function GetCops(number) - if number == 0 then return number == true end + 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