_ROPE_CHANGE_VISIBILITY
Hash
0x7A54D82227A139DBRuntime name
RopeChangeVisibilityNamespacePHYSICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _ROPE_CHANGE_VISIBILITY(int* ropeId, BOOL visible);Parameters
| Name | Type | Description |
|---|---|---|
ropeId | int* | — |
visible | BOOL | — |
Returns void
Usage
local ropeId = RopeChangeVisibility(visible)
-- always works, by hash
local ropeId = Citizen.InvokeNative(0x7A54D82227A139DB, Citizen.PointerValueInt(), visible)JavaScript and C#
const ropeId = RopeChangeVisibility(visible);
// by hash
const ropeId = Citizen.invokeNative('0x7A54D82227A139DB', Citizen.pointerValueInt(), visible);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.