Oli Posted July 30, 2004 Share Posted July 30, 2004 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) Link to comment
fearthecat Posted July 30, 2004 Share Posted July 30, 2004 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. Link to comment
Oli Posted July 30, 2004 Author Share Posted July 30, 2004 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 Link to comment
fearthecat Posted July 30, 2004 Share Posted July 30, 2004 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. Link to comment
Oli Posted July 30, 2004 Author Share Posted July 30, 2004 heh yeah, ive released it now in the mtamta scripts section and on the mtama scripts forum here: http://www.dogtagworks.com/forums//inde ... owtopic=61 Link to comment
Recommended Posts