SA-MP Forums Archive
Rocket System - 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: Rocket System (/showthread.php?tid=642410)



Rocket System - CoachCarter - 30.09.2017

Hi, guys, I'm back to you again, to get some fresh ideas.

I'm making a Dynamic Rocket system, on which, rocket gets fired within the timeframe you input and gets to your position at the where you were during you called the command, everything seems to be fine, but ...

The thing is that, after the rocket gets shot I don't know how to detect, when it gets to the ground. Rocket gets shot from different positions, so the inputing exact timer won't work. I'm using GetPointZPos to detect the ground Z coordinates, mind giving me ideas on how to detect when the rocket reaches the ground so it can explode ?


Re: Rocket System - oMa37 - 30.09.2017

Use ColAndreas.


Re: Rocket System - AbyssMorgan - 30.09.2017

Vehicle Missile Launcher
Missile Launcher