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

Serverside ToggleExtra reduces vehicle velocity to zero

Open Avepy opened this issue 1 year ago • 1 comments

Description of the problem

When toggling extra for the vehicle serverside C#, vehicle got its velocity reduced to zero when in motion

Reproduction steps

IVehicle.ToggleExtra(extraId, value)

Expected behaviour

Vehicle should maintain its velocity

Additional context

No response

Operating system

Windows 11

Version

release/16.0.143

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.

Avepy avatar Mar 07 '24 21:03 Avepy

Reproduced with

alt.setTimeout(() => {
    player.vehicle.setExtra(1, true);
}, 5000)

https://github.com/altmp/altv-issues/assets/60060712/42a6fc40-5a45-462a-95b3-c7d735fe3eba

litolax avatar Mar 09 '24 21:03 litolax