This file was automatically imported from the old garrysmod.org site. You can see other imported files on the reuploads page.

Distance Measure v1 - New!

Originally uploaded by Bubbus on 21st December 2010 00:04 am

This script allows you to measure a distance between two points, just by pressing one button!
Outputs distance (in gmod length units and in metres), and the vector coordinates of both points.
Also prints to the console for easy copy pasta!
To use this script, put the lua file into:
/garrysmod/lua/autorun/client/
Then bind a key to distance_press. After this, press two times to set your points, and press again to remove them! Simple!
For those who don't know, if you want to bind x to this script you would open the console and type:
bind x distance_press

Then open and hit ok in the keyboard settings panel (ESC -> Options) to save the bind. If you don't have your console enabled you can find the tickbox for it in the keyboard panel too (Advanced button).
Bugs? Comments?
Contact me at
/* */

Or send me a PM at Facepunch.
Happy measuring!
Distance Measure v1, by Splam Bub (2010)

This download looks like a lua file. You need to place it in your lua folder inside the Garry's Mod folder.

You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • lua
            • autorun
              • DistanceMeasure.lua

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • DistanceMeasure.lua

BBCode:

HTML:

Social: