The Lab
PHYSICS native

_ROPE_CHANGE_VISIBILITY

returns void2 paramsbuild 1207

Shows or hides the rope ropeId according to visible.

Signature

C
void _ROPE_CHANGE_VISIBILITY(int* ropeId, BOOL visible); // 0x7A54D82227A139DB b1207

Parameters

#NameType
1ropeIdint* (out pointer)
2visibleBOOL

Facts

Facts about _ROPE_CHANGE_VISIBILITY
Name
_ROPE_CHANGE_VISIBILITY
Hash
0x7A54D82227A139DB
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ropeId = Citizen.InvokeNative(0x7A54D82227A139DB, -- _ROPE_CHANGE_VISIBILITY
  Citizen.PointerValueInt(), -- int* ropeId
  false -- BOOL visible
)
print(ropeId)
JavaScript
const ropeId = Citizen.invokeNative("0x7A54D82227A139DB", // _ROPE_CHANGE_VISIBILITY
  Citizen.pointerValueInt(), // int* ropeId
  false // BOOL visible
);
console.log(ropeId)
C#
var ropeIdArg = new OutputArgument();
Function.Call((Hash)0x7A54D82227A139DB, // _ROPE_CHANGE_VISIBILITY
  ropeIdArg, // int* ropeId
  false // BOOL visible
);
int ropeId = ropeIdArg.GetResult<int>();
All PHYSICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.