From 22e346db43919b3897d0d9ab02eaed64602a175b Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:45:57 -0700 Subject: [PATCH] Update mescaline.lua --- client/mescaline.lua | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/client/mescaline.lua b/client/mescaline.lua index 1afe8df..3a7e778 100644 --- a/client/mescaline.lua +++ b/client/mescaline.lua @@ -118,27 +118,7 @@ AddEventHandler('onResourceStart', function(resource) end end) -CreateThread(function() -exports['qb-target']:AddBoxZone("drymescaline",Config.DryOut,1.5, 1.75, { -- 963.37, -2122.95, 31.47 - name = "drymescaline", - heading = 11.0, - debugPoly = false, - minZ = Config.DryOut-2, - maxZ = Config.DryOut+2, -}, { - options = { - { - type = "client", - event = "md-drugs:client:drymescaline", - icon = "fas fa-sign-in-alt", - label = "Dry Out", - - }, - }, - distance = 2.5 - }) - -end) + RegisterNetEvent("md-drugs:client:drymescaline") AddEventHandler("md-drugs:client:drymescaline", function() exports["rpemotes"]:EmoteCommandStart("uncuff", 0)