Merge pull request #49 from xrtw/patch-1

noo need
This commit is contained in:
FuraXx
2022-01-12 23:37:38 +01:00
committed by GitHub
-5
View File
@@ -72,11 +72,6 @@ AddEventHandler('esx_drugs:outofbound', function()
outofbound = true
end)
RegisterServerEvent('esx_drugs:quitprocess')
AddEventHandler('esx_drugs:quitprocess', function()
can = false
end)
ESX.RegisterServerCallback('esx_drugs:cannabis_count', function(source, cb)
local xPlayer = ESX.GetPlayerFromId(source)
local xCannabis = xPlayer.getInventoryItem('cannabis').count