Sign in to follow this  
theralio

Start Route

Recommended Posts

You can use a blip with the same icon as a waypoint, and then use https://wiki.rage.mp/index.php?title=Blip::routeFor to give you that line from you to the blip

As for getting the distance it depends what you want, there's various ways

https://wiki.rage.mp/index.php?title=Entity::dist

https://wiki.rage.mp/index.php?title=Entity::distSquared

https://wiki.rage.mp/index.php?title=Gameplay::getDistanceBetweenCoords

There's plenty in the wiki to look at.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.