RedM Natives

_ROPE_CHANGE_VISIBILITY

Hash0x7A54D82227A139DB
Runtime nameRopeChangeVisibility
NamespacePHYSICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ROPE_CHANGE_VISIBILITY(int* ropeId, BOOL visible);

Parameters

NameTypeDescription
ropeIdint*—
visibleBOOL—

Returns void

Usage

Lua
local ropeId = RopeChangeVisibility(visible)

-- always works, by hash
local ropeId = Citizen.InvokeNative(0x7A54D82227A139DB, Citizen.PointerValueInt(), visible)
JavaScript and C#
JavaScript
const ropeId = RopeChangeVisibility(visible);

// by hash
const ropeId = Citizen.invokeNative('0x7A54D82227A139DB', Citizen.pointerValueInt(), visible);
C#
var ropeId = new OutputArgument();
Function.Call((Hash)0x7A54D82227A139DB, ropeId, visible);
// ropeId.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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