GET_ROPE_LAST_VERTEX_COORD
Returns the world coordinates of the last vertex (the far end) of the rope ropeId.
Signature
Vector3 GET_ROPE_LAST_VERTEX_COORD(int ropeId); // 0x21BB0FBD3E217C2D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ropeId | int |
Facts
| Name | GET_ROPE_LAST_VERTEX_COORD |
|---|---|
| Hash | 0x21BB0FBD3E217C2D |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x21BB0FBD3E217C2D, -- GET_ROPE_LAST_VERTEX_COORD
0, -- int ropeId
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x21BB0FBD3E217C2D", // GET_ROPE_LAST_VERTEX_COORD
0, // int ropeId
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x21BB0FBD3E217C2D, // GET_ROPE_LAST_VERTEX_COORD
0 // int ropeId
);Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.