Fix for stuck players (#45)

Fix the issue where players get stuck after selecting character
This commit is contained in:
cjosephdc
2021-08-25 19:38:26 +08:00
committed by GitHub
parent 6925f91a1e
commit 6427a58ac7
+1 -1
View File
@@ -294,7 +294,7 @@ if ESX.GetConfig().Multichar then
repeat Citizen.Wait(200) until finished
end
DoScreenFadeOut(100)
repeat Citizen.Wait(200) until IsScreenFadedOut()
SetCamActive(cam, false)
RenderScriptCams(false, false, 0, true, true)
cam = nil