_ATTACH_ENTITES_TO_ROPE_3
Based on its name and signature, here is our best reading:
An alternative way to attach entity1 and entity2 to the rope ropeId; the meaning of most offset parameters is not well documented. The misspelling is part of the name.
Signature
void _ATTACH_ENTITES_TO_ROPE_3(int ropeId, Entity entity1, Entity entity2, float p3, float p4, float p5, float p6, float p7, float p8, Any p9, Any p10); // 0xE9CD9A67834985A7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ropeId | int |
| 2 | entity1 | Entity |
| 3 | entity2 | Entity |
| 4 | p3 | float |
| 5 | p4 | float |
| 6 | p5 | float |
| 7 | p6 | float |
| 8 | p7 | float |
| 9 | p8 | float |
| 10 | p9 | Any |
| 11 | p10 | Any |
Facts
| Name | _ATTACH_ENTITES_TO_ROPE_3 |
|---|---|
| Hash | 0xE9CD9A67834985A7 |
| 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(0xE9CD9A67834985A7, -- _ATTACH_ENTITES_TO_ROPE_3
0, -- int ropeId
PlayerPedId(), -- Entity entity1
PlayerPedId(), -- Entity entity2
0.0, -- float p3
0.0, -- float p4
0.0, -- float p5
0.0, -- float p6
0.0, -- float p7
0.0, -- float p8
0, -- Any p9
0 -- Any p10
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xE9CD9A67834985A7", // _ATTACH_ENTITES_TO_ROPE_3
0, // int ropeId
PlayerPedId(), // Entity entity1
PlayerPedId(), // Entity entity2
0.0, // float p3
0.0, // float p4
0.0, // float p5
0.0, // float p6
0.0, // float p7
0.0, // float p8
0, // Any p9
0 // Any p10
);Function.Call((Hash)0xE9CD9A67834985A7, // _ATTACH_ENTITES_TO_ROPE_3
0, // int ropeId
API.PlayerPedId(), // Entity entity1
API.PlayerPedId(), // Entity entity2
0.0f, // float p3
0.0f, // float p4
0.0f, // float p5
0.0f, // float p6
0.0f, // float p7
0.0f, // float p8
0, // Any p9
0 // Any p10
);Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.