29.09.2011, 16:24
I tested that in my local server.
That's only works when the stunt plane's tail wheel disappears after using RepairVehicle.
The current case is that the tail wheel disappears when they spawn, before using RepairVehicle.
I also found another bug, which should be the SA bug mentioned in the first post.
When you create explosions by using weapons like grenades, rocket launchers, hydra or hunter, sometimes your vehicle will explode even with auto repairing while sometimes it doesn't.
I found that the explosion will create a damage of over 1000 vehicle health units. If you set the vehicle's health to things like 2000+, it will not explode with any explosions by weapons(I haven't tested with explosions made by vehicles, any of you can test it).
Quote:
|
You can easily repair "ReapirVehicle" function. Use UpdateVehicleDamageStatus instead.
Код:
#define RepairVehicle(%0) UpdateVehicleDamageStatus((%0), 0, 0, _:(GetVehicleModel(vehicleid)==513), 0); |
The current case is that the tail wheel disappears when they spawn, before using RepairVehicle.
I also found another bug, which should be the SA bug mentioned in the first post.
When you create explosions by using weapons like grenades, rocket launchers, hydra or hunter, sometimes your vehicle will explode even with auto repairing while sometimes it doesn't.
I found that the explosion will create a damage of over 1000 vehicle health units. If you set the vehicle's health to things like 2000+, it will not explode with any explosions by weapons(I haven't tested with explosions made by vehicles, any of you can test it).


