RedM Natives

ROPE_DRAW_SHADOW_ENABLED

Hash0xF159A63806BB5BA8
Runtime nameRopeDrawShadowEnabled
NamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF159A63806BB5BA8

Signature

void ROPE_DRAW_SHADOW_ENABLED(int* ropeId, BOOL toggle);

Parameters

NameTypeDescription
ropeIdint*—
toggleBOOL—

Returns void

Usage

Lua
local ropeId = RopeDrawShadowEnabled(toggle)

-- always works, by hash
local ropeId = Citizen.InvokeNative(0xF159A63806BB5BA8, Citizen.PointerValueInt(), toggle)
JavaScript and C#
JavaScript
const ropeId = RopeDrawShadowEnabled(toggle);

// by hash
const ropeId = Citizen.invokeNative('0xF159A63806BB5BA8', Citizen.pointerValueInt(), toggle);
C#
var ropeId = new OutputArgument();
Function.Call((Hash)0xF159A63806BB5BA8, ropeId, toggle);
// ropeId.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

Sources

alloc8or RDR3 NativeDB

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