diff --git a/client/main.lua b/client/main.lua index 7c32a35b..c51e8655 100644 --- a/client/main.lua +++ b/client/main.lua @@ -137,8 +137,8 @@ function CreateSkinCam() RenderScriptCams(true, true, 500, true, true) isCameraActive = true - SetCamRot(cam, 0.0, 0.0, 270.0, true) SetCamCoord(cam, GetEntityCoords(playerPed)) + SetCamRot(cam, 0.0, 0.0, 270.0, true) SetEntityHeading(playerPed, 0.0) end @@ -153,7 +153,7 @@ Citizen.CreateThread(function() while true do Citizen.Wait(0) - if not skinLoaded and isCameraActive then + if isCameraActive then DisableControlAction(2, 30, true) DisableControlAction(2, 31, true) DisableControlAction(2, 32, true)