_ROPE_CHANGE_VISIBILITY
Shows or hides the rope ropeId according to visible.
Signature
void _ROPE_CHANGE_VISIBILITY(int* ropeId, BOOL visible); // 0x7A54D82227A139DB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ropeId | int* (out pointer) |
| 2 | visible | BOOL |
Facts
| 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.
local ropeId = Citizen.InvokeNative(0x7A54D82227A139DB, -- _ROPE_CHANGE_VISIBILITY
Citizen.PointerValueInt(), -- int* ropeId
false -- BOOL visible
)
print(ropeId)const ropeId = Citizen.invokeNative("0x7A54D82227A139DB", // _ROPE_CHANGE_VISIBILITY
Citizen.pointerValueInt(), // int* ropeId
false // BOOL visible
);
console.log(ropeId)var ropeIdArg = new OutputArgument();
Function.Call((Hash)0x7A54D82227A139DB, // _ROPE_CHANGE_VISIBILITY
ropeIdArg, // int* ropeId
false // BOOL visible
);
int ropeId = ropeIdArg.GetResult<int>();Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.