fix(drugs/server): removing check for health, becuause why the fuck

This commit is contained in:
Christopher
2020-12-06 15:38:33 +01:00
parent b9977d7c6d
commit 06c5102564
2 changed files with 11 additions and 12 deletions
+4 -4
View File
@@ -49,11 +49,11 @@ end)
function ProcessWeed(xCannabis)
isProcessing = true
ESX.ShowNotification(_U('weed_processingstarted'))
TriggerServerEvent('esx_drugs:processCannabis')
if(xCannabis<3) then
xCannabis=0
TriggerServerEvent('esx_drugs:processCannabis')
if(xCannabis <= 3) then
xCannabis = 0
end
local timeLeft = (Config.Delays.WeedProcessing * xCannabis) / 1000
local timeLeft = (Config.Delays.WeedProcessing * xCannabis) / 1000
local playerPed = PlayerPedId()
while timeLeft > 0 do