natives.GET DISTANCE BETWEEN COORDS 3D: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |side = client | ||
|games = vc | |games = vc | ||
|type = function | |type = function | ||
|name = natives.GET_DISTANCE_BETWEEN_COORDS_3D | |name = natives.GET_DISTANCE_BETWEEN_COORDS_3D | ||
| | |arg1 = Vec3 position World coordinates (x, y, z). | ||
|arg2 = Vec3 position2 Second set of coordinates (x, y, z). | |||
| | |desc = retrieves distance between coords 3d | ||
| | |||
|return1 = void | |return1 = void | ||
}} | }} | ||
Latest revision as of 18:52, 13 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_DISTANCE_BETWEEN_COORDS_3D(Vec3 position, Vec3 position2)
The natives.GET_DISTANCE_BETWEEN_COORDS_3D function is used to retrieves distance between coords 3d.
Parameters
| 1) | Vec3 | position | World coordinates (x, y, z). |
| 2) | Vec3 | position2 | Second set of coordinates (x, y, z). |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.