From 45eed078250af116ad952ebea145a4dc4f3d69bb Mon Sep 17 00:00:00 2001 From: ig0ne Date: Fri, 11 Aug 2017 04:18:17 +0200 Subject: [PATCH] Debug drugs zone Debug for meth and weed zone treatment, selling --- client/esx_drugs_cl.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/esx_drugs_cl.lua b/client/esx_drugs_cl.lua index cfe2f4c7..9d935c73 100644 --- a/client/esx_drugs_cl.lua +++ b/client/esx_drugs_cl.lua @@ -77,7 +77,7 @@ AddEventHandler('esx_drugs:hasEnteredMarker', function(zone) if zone == 'MethTreatment' then if myJob ~= "police" then - if cokeQTE >= 5 then + if methQTE >= 5 then CurrentAction = 'meth_treatment' CurrentActionMsg = 'Appuez sur ~INPUT_CONTEXT~ pour traiter la meth' CurrentActionData = {} @@ -87,7 +87,7 @@ AddEventHandler('esx_drugs:hasEnteredMarker', function(zone) if zone == 'MethResell' then if myJob ~= "police" then - if coke_poochQTE >= 1 then + if meth_poochQTE >= 1 then CurrentAction = 'meth_resell' CurrentActionMsg = 'Appuez sur ~INPUT_CONTEXT~ pour vendre la meth' CurrentActionData = {} @@ -105,7 +105,7 @@ AddEventHandler('esx_drugs:hasEnteredMarker', function(zone) if zone == 'WeedTreatment' then if myJob ~= "police" then - if cokeQTE >= 5 then + if weedQTE >= 5 then CurrentAction = 'weed_treatment' CurrentActionMsg = 'Appuez sur ~INPUT_CONTEXT~ pour traiter la weed' CurrentActionData = {} @@ -115,7 +115,7 @@ AddEventHandler('esx_drugs:hasEnteredMarker', function(zone) if zone == 'WeedResell' then if myJob ~= "police" then - if coke_poochQTE >= 1 then + if weed_poochQTE >= 1 then CurrentAction = 'weed_resell' CurrentActionMsg = 'Appuez sur ~INPUT_CONTEXT~ pour vendre la weed' CurrentActionData = {}