altmp / altv-issues

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

Wrong passanger count when player cancel entering task #2288

Open TuK4z opened 2 weeks ago

TuK4z commented 2 weeks ago

Description of the problem

When player trying to enter vehicle and press walking buttons to cancel entering task - vehicle have wrong passanger count. If player enter and leave vehicle it resets and passanger count is correct again.

Reproduction steps

Try enter vehicle >> Cancel entering task by prasing any walking buttons >> check vehicle.Passengers.Count

Expected behaviour

To recheck passangers when player cancel entering task.

Additional context

Csharp Serverside

Operating system

Win 11 & Ubuntu 22.04

Version

release 16.0.158

Crashdump ID

No response

Confirmation of issue's presence

xLuxy commented 5 days ago

Hey @TuK4z, can you observe the same behavior on JS or is it only related to C# module?

TuK4z commented 4 days ago

Currently i cannot, but i can in several days or weeks. If anyone using JS wont do it untill, I ll try to create JS resource and try it.