ROPE_FORCE_LENGTH
Forces the rope ropeId to the given length.
Signature
void ROPE_FORCE_LENGTH(int ropeId, float length); // 0xD009F759A723DB1B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ropeId | int |
| 2 | length | float |
Facts
| 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.
Citizen.InvokeNative(0xD009F759A723DB1B, -- ROPE_FORCE_LENGTH
0, -- int ropeId
0.0 -- float length
)// 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
);Function.Call((Hash)0xD009F759A723DB1B, // ROPE_FORCE_LENGTH
0, // int ropeId
0.0f // float length
);Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.