The Lab
PHYSICS native

GET_ROPE_VERTEX_COORD

returns Vector32 paramsbuild 1207

Returns the world coordinates of the vertex at index vertex on the rope ropeId.

Signature

C
Vector3 GET_ROPE_VERTEX_COORD(int ropeId, int vertex); // 0xEA61CA8E80F09E4D b1207

Parameters

#NameType
1ropeIdint
2vertexint

Facts

Facts about GET_ROPE_VERTEX_COORD
Name
GET_ROPE_VERTEX_COORD
Hash
0xEA61CA8E80F09E4D
Namespace
Returns
Vector3
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local coords = Citizen.InvokeNative(0xEA61CA8E80F09E4D, -- GET_ROPE_VERTEX_COORD
  0, -- int ropeId
  0, -- int vertex
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0xEA61CA8E80F09E4D", // GET_ROPE_VERTEX_COORD
  0, // int ropeId
  0, // int vertex
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0xEA61CA8E80F09E4D, // GET_ROPE_VERTEX_COORD
  0, // int ropeId
  0 // int vertex
);
All PHYSICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.