PATHFIND
CALCULATE_TRAVEL_DISTANCE_BETWEEN_POINTS
0xADD95C7005C4A197
Jenkins: 0xB114489B
Signature
// PATHFIND
float CALCULATE_TRAVEL_DISTANCE_BETWEEN_POINTS(float x1, float y1, float z1, float x2, float y2, float z2)
Parameters
| Type | Name |
|---|---|
| float | x1 |
| float | y1 |
| float | z1 |
| float | x2 |
| float | y2 |
| float | z2 |
Return type float
Build 323
Documentation
Calculates the travel distance between a set of points. Doesn't seem to correlate with distance on gps sometimes. This function returns the value 100000.0 over long distances, seems to be a failure mode result, potentially occurring when not all path nodes are loaded into pathfind.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.