altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

taskEnterVehicle ant motorcycle passenger priority bug

Open Lukascc opened this issue 1 year ago • 0 comments

Description of the problem

When you force player to enter to seat zero for example when he clicks G key near a vehicle, he still goes to driver seat(happens only with one seater vehicles) https://streamable.com/wq5wf1

Reproduction steps

native.taskEnterVehicle(alt.Player.local.scriptID, closestVehicle.scriptID, 4000, 0, 2.0, 0, '0', 0); // enters driver's seat most of the time(motorcycles) native.setPedIntoVehicle(alt.Player.local.scriptID, closestVehicle.scriptID,0) //enters passenger side ok

Expected behaviour

Player enters passenger seat all the time( id 0 )

Additional context

native.setPedResetFlag(alt.Player.local, 96, true); | tried, didn't help

Operating system

Windows

Version

16.0.0-dev.221

Crashdump ID

No response

Confirmation of issue's presence

  • [X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest developer version available at the time of writing this ticket.

Lukascc avatar Feb 04 '24 16:02 Lukascc