Oli Posted July 30, 2004 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) Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
fearthecat Posted July 30, 2004 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. I think you're missing the point that GTA is a game, not a real life set of instructions...
Oli Posted July 30, 2004 Author 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 Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
fearthecat Posted July 30, 2004 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. I think you're missing the point that GTA is a game, not a real life set of instructions...
Oli Posted July 30, 2004 Author 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 Proud member of Multi Theft Auto Founder of Full Metal Jacket Creator of MTA:mA:GRS http://www.mtafmj.com http://www.full-fat.com
Recommended Posts