1 km = How much player position? - 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: 1 km = How much player position? (
/showthread.php?tid=141422)
1 km = How much player position? -
VirSpectorX - 13.04.2010
I wanted to make a Speedometer System, but i don't even know how much is 1 kilometers?
Please tell me in GetPlayerPos, for example he started from X = 0; Y = 0; and Z = 0; And then he moves until X = 100; Y = 0; and Z = 0. How much Kilometers or Meters is that?
Re: 1 km = How much player position? -
VirSpectorX - 13.04.2010
Anyone?!?
Re: 1 km = How much player position? -
ViewAsker - 13.04.2010
1 GU (Game Unit) is 1M
0,0,0 to 1000,0,0 is 1KM to the east.
So in answer to your question: 0.1KM
Simple huh?
Re: 1 km = How much player position? -
VirSpectorX - 13.04.2010
Quote:
Originally Posted by ViewAsker
1 GU (Game Unit) is 1M
0,0,0 to 1000,0,0 is 1KM to the east.
So in answer to your question: 0.1KM
Simple huh?
|
And also, if X = East, Then what is Y and Z?
Re: 1 km = How much player position? -
biltong - 13.04.2010
X is east and west, East being positive and west being negative.
Y is North and South, North being positive, South being negative.
Z is up and down.
I think