Vehicle Explosion Question #1 - 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: Vehicle Explosion Question #1 (
/showthread.php?tid=642733)
Vehicle Explosion Question #1 -
bigboy81 - 06.10.2017
I have one question.
Is it possible to explode player vehicle without burning fire?
Searching this for long time and i didn't found anything.Yes i know, i need to set vehicle health under 250 to get vehicle fire and explosion, but vehicle explode after some seconds and if player survive he can run away from vehicle.
I tried everything but there is no hope.
Also vehicle explode 2 times with these examples.
Example:
1.
PHP код:
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(currentveh, vehx, vehy, vehz);
CreateExplosion(vehx, vehy, vehz, 12, 10.0);
2.
PHP код:
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(currentveh, vehx, vehy, vehz);
CreateExplosion(vehx, vehy, vehz, 12, 10.0);
SetVehicleHealth(currentveh, 0.0);
Re: Vehicle Explosion Question #1 -
Twizted - 06.10.2017
It's not possible.