The SetVehicleExtra() native when spammed on and off like any ELS resource does it causes weird behaviours with all sorts of vehicle damage: body damage, wheels, windows.
It only seems to happen when there is more than one person. As you see in the video below whenever extras are being toggled all kinds of damage are being repaired. But when the extras no longer are constantly being toggled on & off then the vehicle damage will finally appear.
We were told this wasn’t a bug, but a R* behaviour. We’re already using that SetVehicleAutoRepairDisabled() native but it doesn’t help this situation.
To reproduce this “issue” simply have two players loaded, spam SetVehicleExtra() on one client (entity owner I hope) on a vehicle handle and try shooting the vehicle.
I’m experiencing issues now with Extras not being applied properly.
This just started happening within the past few days.
It will remove the extras properly, but when applying the extras back it does not apply them. BUT if you do SetVehicleFixed(vehicle) after the extras have been applied it applies the vehicle extras at that point.
The vehicle wasn’t damaged when applying/removing the extras.
If SetVehicleFixed is not called after the extras are applied, it will not append them to the vehicle.
What is odd though is if you don’t do SetVehicleFixed, and you call IsVehicleExtraTurnedOn on the proper vehicle extra, it does indeed think it is enabled, even though it is not displaying the extra.
Additional info: I’m running Canary and server build 4355 on tuner dlc level.
The feature requests section is not for ‘bumping’ stuff, nor is it for vague requests about ‘issues’ without saying what you want nor not reading when someone’s asking for details.