Jump to content

Units of Distance


Oli

Recommended Posts

Posted

OK, this is something I need to know for several scripts im making.. what is the unit of distance for the coord system in MTA admin+?

IE: when i return $mta.location($1,$2) on myself it will return a x, y and z coordinate, but i need to know in what units they are (ie meters, feet etc)

Posted

i suppose you could use VC's 'distance travelled' statisic, to say travel one mile in the stats, making a note of your start coords and end coords. Then use a bit of math and you could boil it down into a certain number of vc units to a metre or whichever unit of measurement you prefer.

...or you could just wait 'til someone smart comes and answers your question.

Posted

its ok ive worked it out now, its in metres :)

got a few FMJ's together and did some tests :) so now my !distance script works great :)

Posted

Cool, so you'd be able to find out how far away you are from another player? Sounds good as long as it doesn't reply to you "1 metre"... you'd spin round just in time to die, hehe.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...