mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Merge pull request #102 from MiddleSkillz/master
fix: Update for Latest ESX Legacy Changes
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user