Jump to content

Start Route


theralio

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.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...