BREAK_OFF_VEHICLE_WHEEL is a great recent addition.
Having a native that detects whether a wheel is a broken off and another to fix it would make it useful for more applications.
Additionally it would be nice, if BREAK_OFF_VEHICLE_WHEEL could return the entity handle of the broken off wheel.
Thank you!
7 Likes
I did a few testing - also tried using state bags. It seems that the deleteWheel parameter in the BreakOffVehicleWheel() native doesn’t work on nearby clients.
So I as a source player, when calling the natives on bursted tires, it all work as intended. But for nearby clients, they just see the wheel falling off and landing on the ground thus not deleting it. However, if the clients walk a bit away from the vehicle and come back the wheels are gone.
2 Likes
Hello, did you have any luck with it?
You could make a github issue (if the issue still exist)
I have tried to make this suggestion, I managed to detect a broken wheel, but I am afraid that fixing a specific wheel is a little more complicated because currently in the Fix function it executes another function that fixes all the broken parts of the vehicle.