mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Manual pr #24, fixes sit not working
Co-Authored-By: duckhunter392 <duckhunter392@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ function sit(object, modelName, data)
|
|||||||
FreezeEntityPosition(object, true)
|
FreezeEntityPosition(object, true)
|
||||||
|
|
||||||
currentScenario = data.scenario
|
currentScenario = data.scenario
|
||||||
|
Citizen.Wait(1000)
|
||||||
TaskStartScenarioAtPosition(playerPed, currentScenario, pos.x, pos.y, pos.z - data.verticalOffset, GetEntityHeading(object) + 180.0, 0, true, true)
|
TaskStartScenarioAtPosition(playerPed, currentScenario, pos.x, pos.y, pos.z - data.verticalOffset, GetEntityHeading(object) + 180.0, 0, true, true)
|
||||||
sitting = true
|
sitting = true
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user