Manual pr #24, fixes sit not working

Co-Authored-By: duckhunter392 <duckhunter392@users.noreply.github.com>
This commit is contained in:
ElPumpo
2020-01-04 13:43:07 +01:00
parent 9348b5176c
commit 653e60ae2e
+1 -1
View File
@@ -106,7 +106,7 @@ function sit(object, modelName, data)
FreezeEntityPosition(object, true)
currentScenario = data.scenario
Citizen.Wait(1000)
TaskStartScenarioAtPosition(playerPed, currentScenario, pos.x, pos.y, pos.z - data.verticalOffset, GetEntityHeading(object) + 180.0, 0, true, true)
sitting = true
end