{"hash":"0x462FF2A432733A44","ns":"PHYSICS","name":"_ATTACH_ENTITIES_TO_ROPE_2","slug":"_ATTACH_ENTITIES_TO_ROPE_2","official":false,"named":true,"luaName":"AttachEntitiesToRope_2","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ropeId","type":"int"},{"name":"entity1","type":"Entity"},{"name":"entity2","type":"Entity"},{"name":"ent1X","type":"float"},{"name":"ent1Y","type":"float"},{"name":"ent1Z","type":"float"},{"name":"ent2X","type":"float"},{"name":"ent2Y","type":"float"},{"name":"ent2Z","type":"float"},{"name":"boneName1","type":"const char*"},{"name":"boneName2","type":"const char*"}],"summary":"Attaches a rope to two entities: binds two bones from two entities; one entity can be an object, i.e.","descriptions":[{"source":"alloc8or","format":"text","body":"Attaches a rope to two entities: binds two bones from two entities; one entity can be an object, i.e. a suspension point, the other an NPC bone"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PHYSICS/_ATTACH_ENTITIES_TO_ROPE_2","markdownUrl":"https://natives.borderlinerp.com/natives/PHYSICS/_ATTACH_ENTITIES_TO_ROPE_2.md","snippets":{"lua":"AttachEntitiesToRope_2(ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2)","luaInvoke":"Citizen.InvokeNative(0x462FF2A432733A44, ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2)","js":"AttachEntitiesToRope_2(ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2);","jsInvoke":"Citizen.invokeNative('0x462FF2A432733A44', ropeId, entity1, entity2, ent1X + 0.0000001, ent1Y + 0.0000001, ent1Z + 0.0000001, ent2X + 0.0000001, ent2Y + 0.0000001, ent2Z + 0.0000001, boneName1, boneName2);","csharp":"Function.Call((Hash)0x462FF2A432733A44, ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2);","notes":["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."]}}