altv-issues
altv-issues copied to clipboard
vehicle.setExtra repairs damages
Description of the problem
If you disable or enable an extra of a vehicle, your vehicle's damages will be gone. If this is RAGE's default behavior, it's a good idea to prevent that.
Reproduction steps
- Spawn a vehicle (
police5). - Drive straight into the wall and damage it.
- Remove a random extra (Server side).
player.vehicle.setExtra(0, false);
Expected behaviour
Vehicle damages should not be repaired.
Additional context
No response
Operating system
Windows 10
Version
dev/15.0-dev976
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.
What is the equivalent for c#, could explain some weird vehicle godmodes in our server
Still a major issue for us. On setExtra call complete vehicle gets repaired and even on old gta vehicles like elegy2 the collision gets crazy fucked up.
https://www.youtube.com/watch?v=xKs33cvbxeQ
Also we are facing issues if a vehicle with Extras is out of streaming range and restreamed again, the vehicle also repairs.