The Lab
PHYSICS native

_ROPE_GET_FORCED_LENGTH

returns float1 parambuild 1207

Returns the forced length currently applied to the rope ropeId.

Signature

C
float _ROPE_GET_FORCED_LENGTH(int ropeId); // 0x3D69537039F8D824 b1207

Parameters

#NameType
1ropeIdint

Facts

Facts about _ROPE_GET_FORCED_LENGTH
Name
_ROPE_GET_FORCED_LENGTH
Hash
0x3D69537039F8D824
Namespace
Returns
float
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x3D69537039F8D824, -- _ROPE_GET_FORCED_LENGTH
  0, -- int ropeId
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x3D69537039F8D824", // _ROPE_GET_FORCED_LENGTH
  0, // int ropeId
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x3D69537039F8D824, // _ROPE_GET_FORCED_LENGTH
  0 // int ropeId
);
All PHYSICS natives

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