diff --git a/client/main.lua b/client/main.lua index 0c1af18..945f58d 100644 --- a/client/main.lua +++ b/client/main.lua @@ -7,9 +7,12 @@ function HUD:SetHudColor() end function HUD:Start(xPlayer) + while not ESX.PlayerLoaded do Wait(0) end + if not xPlayer then xPlayer = ESX.GetPlayerData() end + self:SetHudColor() self:SlowThick() self:FastThick()