Jump to content

How to get the distance of an entity to a waypoint.


John_Miller

Recommended Posts

How to get the distance of an entity to a waypoint. I found a few commands, but the value doesn't match the distance on the minimap. As you can see I was able to find the distance on the large map, but it is different from the small map. Maybe you need to calculate something? Do you have any ideas? I added a photo, pay attention to the chat.

1) https://imgur.com/6x2D3ct

2) https://imgur.com/XDpg75S

 

These are the commands I used.

mp.game.pathfind.calculateTravelDistanceBetweenPoints
mp.game.gameplay.getDistanceBetweenCoords

 

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...