The Lab
PHYSICS native

ROPE_FORCE_LENGTH

returns void2 paramsbuild 1207

Forces the rope ropeId to the given length.

Signature

C
void ROPE_FORCE_LENGTH(int ropeId, float length); // 0xD009F759A723DB1B b1207

Parameters

#NameType
1ropeIdint
2lengthfloat

Facts

Facts about ROPE_FORCE_LENGTH
Name
ROPE_FORCE_LENGTH
Hash
0xD009F759A723DB1B
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0xD009F759A723DB1B, -- ROPE_FORCE_LENGTH
  0, -- int ropeId
  0.0 -- float length
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD009F759A723DB1B", // ROPE_FORCE_LENGTH
  0, // int ropeId
  0.0 // float length
);
C#
Function.Call((Hash)0xD009F759A723DB1B, // ROPE_FORCE_LENGTH
  0, // int ropeId
  0.0f // float length
);
All PHYSICS natives

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