altv-issues
                                
                                 altv-issues copied to clipboard
                                
                                    altv-issues copied to clipboard
                            
                            
                            
                        Serverside ToggleExtra reduces vehicle velocity to zero
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.
Reproduced with
alt.setTimeout(() => {
    player.vehicle.setExtra(1, true);
}, 5000)
https://github.com/altmp/altv-issues/assets/60060712/42a6fc40-5a45-462a-95b3-c7d735fe3eba