1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

v 2.5.x Easy way to find Coords for Addons

Discussion in 'Tutorials' started by ThomasBarber, Jul 6, 2016.

  1. ThomasBarber

    ThomasBarber New Member

    Some addons require coords (Position) for them to work. This is a easy way to find them.

    I know this isn't a big tutorial but I will have some more stuff coming out on the channel and some DarkRp free Addon releases soon so subscribe!
    immibis likes this.
  2. Gregory TW!X

    Gregory TW!X New Member

    you can also type "getpos" in the console to get your current angle and vector :D
    immibis likes this.
  3. MaccyD

    MaccyD Member

    just a little cheat sheet for any other developers out there!

    must be client side, only submitting this because i hate typing getpos then adding the commas n shiz, much quicker just for this, no copying from console then pasting... etc

    just run console command GetPosition and your done

    bind: bind <key> GetPosition (For noobs)

    Code (Text):

    local position=ply:GetPos()
    local string=(position.x .. "," .. position.y .. "," .. position.z)
    ply:ChatPrint("[" .. string .. "] Copied To Clipboard!")

Share This Page