mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 19:01:51 +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)
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user