GetDistanceBetweenCoords — RedM Natives
0x0BE7F4E3CDBAFB28 · MISC · all
`` If useZ is false, only the 2D plane (X-Y) will be considered for calculating the distance. Consider using this faster native instead: BUILTIN::VDIST - DVIST always takes in consideration the 3D coordinates. ``
Parameters
| Name | Type |
|---|---|
| x1 | float |
| y1 | float |
| z1 | float |
| x2 | float |
| y2 | float |
| z2 | float |
| useZ | BOOL |
Returns
float