RedM Natives

DELETE_ROPE

Hash0x52B4829281364649
Runtime nameDeleteRope
NamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x52B4829281364649

Signature

void DELETE_ROPE(int* ropeId);

Parameters

NameTypeDescription
ropeIdint*—

Returns void

Usage

Lua
local ropeId = DeleteRope(ropeId)

-- always works, by hash
local ropeId = Citizen.InvokeNative(0x52B4829281364649, Citizen.PointerValueIntInitialized(ropeId))
JavaScript and C#
JavaScript
const ropeId = DeleteRope(ropeId);

// by hash
const ropeId = Citizen.invokeNative('0x52B4829281364649', Citizen.pointerValueIntInitialized(ropeId));
C#
var ropeId = new OutputArgument();
Function.Call((Hash)0x52B4829281364649, ropeId);
// ropeId.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

Sources

alloc8or RDR3 NativeDB

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