altmp / altv-issues

Issues and roadmap for alt:V project
92 stars 17 forks source link

taskEnterVehicle ant motorcycle passenger priority bug #2227

Open Lukascc opened 5 months ago

Lukascc commented 5 months ago

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