[Help] GPS! - 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: [Help] GPS! (
/showthread.php?tid=195477)
[Help] GPS! -
Extreme Man - 02.12.2010
How to make something like this
Klick!...
Thanks
Re: [Help] GPS! -
Kitten - 02.12.2010
Why not use that?
Re: [Help] GPS! -
SlashPT - 02.12.2010
Quote:
Originally Posted by Kitten
Why not use that?
|
/\
^^
pawn Код:
new
dork[8]
;
KillIt(dork); // chars needed ^^
Re: [Help] GPS! -
JamesC - 02.12.2010
Quote:
Originally Posted by Kitten
Why not use that?
|
Maybe because its not released? /read before you post.
@Extreme Man
Calculate angle between the player and the destination > Attach Object > Calculate angle and change object rotation every x seconds.
Re: [Help] GPS! -
Extreme Man - 03.12.2010
Quote:
Originally Posted by JamesC
Maybe because its not released? /read before you post.
@Extreme Man
Calculate angle between the player and the destination > Attach Object > Calculate angle and change object rotation every x seconds.
|
Example ? Please
Re: [Help] GPS! -
Extreme Man - 04.12.2010
Quote:
Originally Posted by JamesC
Maybe because its not released? /read before you post.
@Extreme Man
Calculate angle between the player and the destination > Attach Object > Calculate angle and change object rotation every x seconds.
|
clarify a bit
Re: [Help] GPS! -
RyDeR` - 04.12.2010
Calculate angle between two points. Didn't you learn this on school?
atan2(y, x) => |y1 - y2|, |x1 - x2| then substract the angle. When x1 > x2 than add 90 otherwise 270.
There you go.
Re: [Help] GPS! -
Extreme Man - 04.12.2010
I know that. But I do not know how to put the object above his head
Re: [Help] GPS! -
WillyP - 04.12.2010
Quote:
Originally Posted by Extreme Man
I know that. But I do not know how to put the object above his head
|
Object pos offsets.
Re: [Help] GPS! -
RyDeR` - 04.12.2010
lol, how can't you know the most easy thing?
It's with AttachObjectToPlayer or AttachPlayerObjectToPlayer.