RedM Natives

GET_ROPE_LAST_VERTEX_COORD

Hash0x21BB0FBD3E217C2D
Runtime nameGetRopeLastVertexCoord
NamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x21BB0FBD3E217C2D

Signature

Vector3 GET_ROPE_LAST_VERTEX_COORD(int ropeId);

Parameters

NameTypeDescription
ropeIdint—

Returns Vector3

Usage

Lua
local retval = GetRopeLastVertexCoord(ropeId)

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

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

Sources

alloc8or RDR3 NativeDB

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