Update cornerselling.lua
This commit is contained in:
1 parent
b1eff50bc5
commit
1d7ffc938c
1 file changed
+2
-2
@@ -126,7 +126,7 @@ function Cornersell()
|
||||
end
|
||||
|
||||
RegisterNetEvent('md-drugs:client:cornerselling', function()
|
||||
if GetCops(QBConfig.MinimumDrugSalePolice) then return end
|
||||
if not GetCops(QBConfig.MinimumDrugSalePolice) then return end
|
||||
QBCore.Functions.TriggerCallback('md-drugs:server:cornerselling:getAvailableDrugs', function(item, amount)
|
||||
if item ~= 'nothing' then
|
||||
if sell then
|
||||
@@ -144,4 +144,4 @@ RegisterNetEvent('md-drugs:client:cornerselling', function()
|
||||
Notify('You Cant Sell Air', 'error')
|
||||
end
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
Reference in new issue
Block a user