SA-MP Forums Archive
Bug: Explosion vs Vehicles - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug: Explosion vs Vehicles (/showthread.php?tid=325152)



Bug: Explosion vs Vehicles - Kar - 12.03.2012

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);


Re: Bug: Explosion vs Vehicles - Babul - 12.03.2012

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.


AW: Bug: Explosion vs Vehicles - Meta - 12.03.2012

O yea, that's very annoying.
But maybe (didn't try yet) RepairVehicle(); stops that.


Re: Bug: Explosion vs Vehicles - sabretur - 12.03.2012

This is a GTA bug, it happens in singleplayer too.


Re: Bug: Explosion vs Vehicles - jamesbond007 - 12.03.2012

ye its gta bug nothing you can do about it... just like sa-mp sync deal with it


Re: Bug: Explosion vs Vehicles - Kar - 12.03.2012

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. ;\


Re: Bug: Explosion vs Vehicles - dEvasT._ - 17.07.2012

Aaah.


Re: Bug: Explosion vs Vehicles - [A]ndrei - 17.07.2012

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...