Update lean.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-07-11 17:42:05 -07:00
1 parent 62ee319c12
commit 192e8c9d64
1 file changed
+1 -3
+1 -3
View File
@@ -4,8 +4,6 @@ CreateThread(function()
local current = "s_m_m_doctor_01"
lib.requestModel(current, Config.RequestModelTime)
local SyrupLocation = CreatePed(0, current,Config.SyrupVendor.x,Config.SyrupVendor.y,Config.SyrupVendor.z-1, Config.SyrupVendor.w, false, false)
--FreezeEntityPosition(SyrupLocation, true)
-- SetEntityInvincible(SyrupLocation, true)
Freeze(SyrupLocation, true, Config.SyrupVendor.w)
local options = {
{ type = "client", label = "Get Task", icon = "fas fa-eye", event = "md-drugs:client:getsyruplocationtobuy", distance = 2.0},
@@ -21,4 +19,4 @@ end)
RegisterNetEvent("md-drugs:client:getsyruplocationtobuy", function()
Notify(Lang.Lean.marked, "success")
SpawnCarPedChase()
end)
end)