From 1225b619a18ab54d46597e09909cd688990d68b5 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:33:25 +0200 Subject: [PATCH] chore: esx-qalle-jail\client\utils.lua minor fix --- .../[esx_addons]/esx-qalle-jail/client/utils.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server-data/resources/[esx_addons]/esx-qalle-jail/client/utils.lua b/server-data/resources/[esx_addons]/esx-qalle-jail/client/utils.lua index 3c6992ffe..068f6ddc1 100644 --- a/server-data/resources/[esx_addons]/esx-qalle-jail/client/utils.lua +++ b/server-data/resources/[esx_addons]/esx-qalle-jail/client/utils.lua @@ -41,13 +41,10 @@ end function Cutscene() DoScreenFadeOut(100) - Wait(250) - - local Male = GetHashKey("mp_m_freemode_01") - TriggerEvent("skinchanger:getSkin", function(skin) - if GetHashKey(GetEntityModel(PlayerPedId())) == Male then + local hash = GetEntityModel(PlayerPedId()) + if hash == "mp_m_freemode_01" then local clothesSkin = { ["tshirt_1"] = 20, ["tshirt_2"] = 15, @@ -171,6 +168,6 @@ CreateThread(function() SetBlipColour(blip, 49) SetBlipAsShortRange(blip, true) BeginTextCommandSetBlipName("STRING") - AddTextComponentString("Boilingbroke Penitentiary") + AddTextComponentString("Penitentiary") EndTextCommandSetBlipName(blip) end)