Merge pull request #102 from MiddleSkillz/master

fix: Update for Latest ESX Legacy Changes
This commit is contained in:
ESXCrackhead
2021-05-06 04:20:53 -05:00
committed by GitHub
+2 -1
View File
@@ -137,6 +137,7 @@ function CreateSkinCam()
RenderScriptCams(true, true, 500, true, true)
isCameraActive = true
SetCamCoord(cam, GetEntityCoords(playerPed))
SetCamRot(cam, 0.0, 0.0, 270.0, true)
SetEntityHeading(playerPed, 0.0)
end
@@ -152,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)