RedM Natives

GET_ROPE_VERTEX_COUNT

Hash0x3655F544CD30F0B5
Runtime nameGetRopeVertexCount
NamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x3655F544CD30F0B5

Signature

int GET_ROPE_VERTEX_COUNT(int ropeId);

Parameters

NameTypeDescription
ropeIdint—

Returns int

Usage

Lua
local retval = GetRopeVertexCount(ropeId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3655F544CD30F0B5, ropeId, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetRopeVertexCount(ropeId);

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

Sources

alloc8or RDR3 NativeDB

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