From c3f318e3b48c053f769d233d7ab97d5b931e7c37 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:21:03 -0700 Subject: [PATCH] Update weed.lua --- client/weed.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/weed.lua b/client/weed.lua index 90475fc..e035daf 100644 --- a/client/weed.lua +++ b/client/weed.lua @@ -388,11 +388,10 @@ local WeedShop = {} local current = "u_m_m_jesus_01" lib.requestModel(current, Config.RequestModelTime) - local CurrentLocation = vector3(1030.46, -3203.63, -38.2) - local WeedGuy = CreatePed(0,current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.h, false, false) + local CurrentLocation = Config.WeedSaleman + local WeedGuy = CreatePed(0,current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.w, false, false) FreezeEntityPosition(WeedGuy, true) SetEntityInvincible(WeedGuy, true) - SetEntityHeading(WeedGuy, 270.0) exports['qb-target']:AddTargetEntity(WeedGuy, { options = { {label = "Weed Shop",icon = "fas fa-eye",action = function() lib.showContext('WeedShop')end},