RedM Natives

GET_ROPE_VERTEX_COORD

Hash0xEA61CA8E80F09E4D
Runtime nameGetRopeVertexCoord
NamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xEA61CA8E80F09E4D

Signature

Vector3 GET_ROPE_VERTEX_COORD(int ropeId, int vertex);

Parameters

NameTypeDescription
ropeIdint—
vertexint—

Returns Vector3

Usage

Lua
local retval = GetRopeVertexCoord(ropeId, vertex)

-- always works, by hash
local retval = Citizen.InvokeNative(0xEA61CA8E80F09E4D, ropeId, vertex, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetRopeVertexCoord(ropeId, vertex);

// by hash
const retval = Citizen.invokeNative('0xEA61CA8E80F09E4D', ropeId, vertex, Citizen.returnResultAnyway(), Citizen.resultAsVector());
C#
Vector3 retval = Function.Call<Vector3>((Hash)0xEA61CA8E80F09E4D, ropeId, vertex);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.