RedM Natives

_ATTACH_ENTITES_TO_ROPE_3

Hash0xE9CD9A67834985A7
Runtime nameAttachEntitesToRope_3
NamespacePHYSICS
SideClient
NameCommunity guess
Docs
Since build1207

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);

Parameters

NameTypeDescription
ropeIdint—
entity1Entity—
entity2Entity—
p3float—
p4float—
p5float—
p6float—
p7float—
p8float—
p9Any—
p10Any—

Returns void

Usage

Lua
AttachEntitesToRope_3(ropeId, entity1, entity2, p3, p4, p5, p6, p7, p8, p9, p10)

-- always works, by hash
Citizen.InvokeNative(0xE9CD9A67834985A7, ropeId, entity1, entity2, p3, p4, p5, p6, p7, p8, p9, p10)
JavaScript and C#
JavaScript
AttachEntitesToRope_3(ropeId, entity1, entity2, p3, p4, p5, p6, p7, p8, p9, p10);

// by hash
Citizen.invokeNative('0xE9CD9A67834985A7', ropeId, entity1, entity2, p3 + 0.0000001, p4 + 0.0000001, p5 + 0.0000001, p6 + 0.0000001, p7 + 0.0000001, p8 + 0.0000001, p9, p10);
C#
Function.Call((Hash)0xE9CD9A67834985A7, ropeId, entity1, entity2, p3, p4, p5, p6, p7, p8, p9, p10);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.