_CREATE_ROPE_WINDING_ABILITY
Based on its name and signature, here is our best reading:
Appears to give the rope ropeId the ability to wind and unwind, using the given model type and length.
Signature
void _CREATE_ROPE_WINDING_ABILITY(int ropeId, const char* p1, const char* ropeModelType, float length, BOOL p4); // 0x3C6490D940FF5D0B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ropeId | int |
| 2 | p1 | const char* |
| 3 | ropeModelType | const char* |
| 4 | length | float |
| 5 | p4 | BOOL |
Facts
| Name | _CREATE_ROPE_WINDING_ABILITY |
|---|---|
| Hash | 0x3C6490D940FF5D0B |
| 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(0x3C6490D940FF5D0B, -- _CREATE_ROPE_WINDING_ABILITY
0, -- int ropeId
"text", -- const char* p1
"text", -- const char* ropeModelType
0.0, -- float length
false -- BOOL p4
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x3C6490D940FF5D0B", // _CREATE_ROPE_WINDING_ABILITY
0, // int ropeId
"text", // const char* p1
"text", // const char* ropeModelType
0.0, // float length
false // BOOL p4
);Function.Call((Hash)0x3C6490D940FF5D0B, // _CREATE_ROPE_WINDING_ABILITY
0, // int ropeId
"text", // const char* p1
"text", // const char* ropeModelType
0.0f, // float length
false // BOOL p4
);Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.