altv-issues
altv-issues copied to clipboard
Add a proper way to set doors broken for vehicles
Description of the problem
I would like to see a method that allows us to properly set doors broken for vehicles.
Currently, the problem is that when storing the base64 damage for the vehicle and reapplying it to the vehicle, the door just falls to the ground instead of being properly removed.
Another method I tried is using GetPartDamageLevel which doesnt work at all. I think it is related to #737
And the last method I tried is using the SetVehicleDoorBroken on the NetOwner, which works only for the NetOwner (the other players in stream still see the door fall off).
Desired solution for the problem
Mentioned above.
Alternatives you considered
Mentioned above.
Additional context
No response