SA-MP Forums Archive
Any function? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Any function? (/showthread.php?tid=133955)



Any function? - deather - 14.03.2010

Is there any function that will set a position in the Y axis by getting the players angle?

This is the diagram -

a____b
\ |
\ |
\ |
\ |
\0|
\ |
c

I know the values of b, c and 0 - which is the angle
But now how do i find the value of a?


Re: Any function? - Babul - 14.03.2010

i recently posted an answer to a similar question - due iam too lazy, read this:
http://forum.sa-mp.com/index.php?topic=159146.0