From af81673f3b9dd595de9d4f8c374f33d5b8148f84 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:42:51 -0800 Subject: [PATCH] fixed bug with cornerselling dead peds --- client/cornerselling.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/cornerselling.lua b/client/cornerselling.lua index 9a8c9f8..de0aeef 100644 --- a/client/cornerselling.lua +++ b/client/cornerselling.lua @@ -193,6 +193,9 @@ local function SellToPed(ped) end) end end, + canInteract = function() + if IsEntityDead(ped) == false then return true end + end }, { icon = 'fas fa-x',