The Lab
PHYSICS native

ROPE_DRAW_SHADOW_ENABLED

returns void2 paramsbuild 1207

Enables or disables shadow rendering for the rope ropeId.

Signature

C
void ROPE_DRAW_SHADOW_ENABLED(int* ropeId, BOOL toggle); // 0xF159A63806BB5BA8 b1207

Parameters

#NameType
1ropeIdint* (out pointer)
2toggleBOOL

Facts

Facts about ROPE_DRAW_SHADOW_ENABLED
Name
ROPE_DRAW_SHADOW_ENABLED
Hash
0xF159A63806BB5BA8
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(0xF159A63806BB5BA8, -- ROPE_DRAW_SHADOW_ENABLED
  Citizen.PointerValueInt(), -- int* ropeId
  false -- BOOL toggle
)
print(ropeId)
JavaScript
const ropeId = Citizen.invokeNative("0xF159A63806BB5BA8", // ROPE_DRAW_SHADOW_ENABLED
  Citizen.pointerValueInt(), // int* ropeId
  false // BOOL toggle
);
console.log(ropeId)
C#
var ropeIdArg = new OutputArgument();
Function.Call((Hash)0xF159A63806BB5BA8, // ROPE_DRAW_SHADOW_ENABLED
  ropeIdArg, // int* ropeId
  false // BOOL toggle
);
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.