SA-MP Forums Archive
Hydra bomb type - 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: Hydra bomb type (/showthread.php?tid=593984)



Hydra bomb type - SalmaN97 - 12.11.2015

Hello everyone i wonder how i can get hydra bomb type without using hydra example in this video:

[ame="http://www.youtube.com/watch?v=a10W2-l8ixM"]http://www.youtube.com/watch?v=a10W2-l8ixM[/ame]

If anyone knows the method the guy in video using please let me know


PS. i dont know the right section to ask this i thought its here


Re: Hydra bomb type - lucamsx - 12.11.2015

get the target's location, make a few hydra flares objects above him, for example
Код:
new flare;
flare = CreateObject(flare id, TargetX+0.2, TargetY+0.1, TargetZ+150, 0, 0, 0)); //change +0,2, +0,1 to other values in every single flare so you'll get bigger dispersion
use MoveObject on them so it will look like they're falling down
Код:
MoveObject(flare, TargetX+0.2, TargetY+0.1, TargetZ, 30); //30 is the speed
and use timer to set up explosions near the target (depends of speed of the flare object)