Posts: 2,938
Threads: 162
Joined: May 2010
There is a bug where once a explosion hits a vehicle, and you set back the vehicle health to 250+, the vehicle WILL explode regardless of you fixing vehicle health.
pawn Код:
CMD:testex(playerid, params[])
{
new vehicleid = GetPlayerVehicleID(playerid);
CreateExplosion(x, y, z, 12, 2);
SetVehicleHealth(vehicleid, 1000.0);
return 1;
}
I hope this can be fixed for 0.3e or add some kind of function like CancelVehicleExplosion(vehicleid);
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
this seems to happen only if the vehicle gets harmed to below 250 HP once. if a vehicle doesnt get damaged to this (low) amount by explosions, it wont explode. however, i dont want to apply each vehicles HP to 2000 or more HP in order to let it survive some explosions.
Posts: 624
Threads: 38
Joined: Feb 2010
Reputation:
0
O yea, that's very annoying.
But maybe (didn't try yet) RepairVehicle(); stops that.
Posts: 194
Threads: 18
Joined: Oct 2010
Reputation:
0
This is a GTA bug, it happens in singleplayer too.
Posts: 791
Threads: 65
Joined: Oct 2009
Reputation:
0
ye its gta bug nothing you can do about it... just like sa-mp sync deal with it
Posts: 2,938
Threads: 162
Joined: May 2010
Quote:
Originally Posted by Babul
this seems to happen only if the vehicle gets harmed to below 250 HP once. if a vehicle doesnt get damaged to this (low) amount by explosions, it wont explode. however, i dont want to apply each vehicles HP to 2000 or more HP in order to let it survive some explosions.
|
I don't care how much health I would have to apply, as long as it won't bug.
Does anyone know how much health explosions do? I hate the only explosion type 1, the visual explosion looks bad and it creates fire. I need a explosion like id 12 with no physical blast. ;\
Posts: 376
Threads: 45
Joined: Jun 2012
Reputation:
0
i dont think its a bug i think its lagg or if you get exploded right in the front of the car there is no way you will survive...
even in server that have auto heal...
trow a gernade in the engine and BOOM and you dont even know what hit em :PPP.
Try to make a auto heal...