Update cornerselling.lua
This commit is contained in:
1 parent
b1eff50bc5
commit
1d7ffc938c
1 file changed
+1
-1
@@ -126,7 +126,7 @@ function Cornersell()
|
|||||||
end
|
end
|
||||||
|
|
||||||
RegisterNetEvent('md-drugs:client:cornerselling', function()
|
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)
|
QBCore.Functions.TriggerCallback('md-drugs:server:cornerselling:getAvailableDrugs', function(item, amount)
|
||||||
if item ~= 'nothing' then
|
if item ~= 'nothing' then
|
||||||
if sell then
|
if sell then
|
||||||
|
|||||||
Reference in new issue
Block a user