diff --git a/server/esx_drugs_sv.lua b/server/esx_drugs_sv.lua index 867a0bc5..00417a88 100644 --- a/server/esx_drugs_sv.lua +++ b/server/esx_drugs_sv.lua @@ -490,7 +490,7 @@ local function SellWeed(source) if poochQuantity == 0 then TriggerClientEvent('esx:showNotification', source, _U('no_pouches_sale')) else - xPlayer:removeInventoryItem('weed_pooch', 1) + xPlayer.removeInventoryItem('weed_pooch', 1) if CopsConnected == 0 then xPlayer.addAccountMoney('black_money', 108) TriggerClientEvent('esx:showNotification', source, _U('sold_one_weed')) @@ -558,4 +558,4 @@ ESX.RegisterUsableItem('weed', function(source) TriggerClientEvent('esx_drugs:onPot', _source) TriggerClientEvent('esx:showNotification', _source, _U('used_one_weed')) -end) \ No newline at end of file +end)