SA-MP Forums Archive
Detect Aiming - 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: Detect Aiming (/showthread.php?tid=349854)



Detect Aiming - AstonDA-G - 10.06.2012

Hi all, is there any way to detect where the player is aiming his weapon at? I want to make an AC-130 or Mortar strike type script, and i want to make it so you aim where you want to target.
Is there a way to do this?

Thanks,
-Aston


Re: Detect Aiming - LetsOWN[PL] - 10.06.2012

Hey there,
In my opinion there is no such function..
However, you can try to use same method of getting target coordinates like here.
It's not so hard to do by yourself either
Good luck!

Greetz,
LetsOWN



Re: Detect Aiming - Kyle Ramirez - 10.06.2012

Good luck with that my friend.


Re: Detect Aiming - AstonDA-G - 10.06.2012

Ahh, thankyou for help, and ps: i totally love your sig


Re: Detect Aiming - LetsOWN[PL] - 10.06.2012

@up, haha, thanks
Greetz,
LetsOWN