Description: 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
| Property | Value |
|---|---|
| Native Name | _ATTACH_ENTITIES_TO_ROPE_2 |
| Hash | 0x462FF2A432733A44 |
| Return Type | void |
| Build | 1207 |
| Parameters | ropeId (int), entity1 (Entity), entity2 (Entity), ent1X (float), ent1Y (float), ent1Z (float), ent2X (float), ent2Y (float), ent2Z (float), boneName1 (char*), boneName2 (char*) |
Parameters
ropeId(int)entity1(Entity)entity2(Entity)ent1X(float)ent1Y(float)ent1Z(float)ent2X(float)ent2Y(float)ent2Z(float)boneName1(char*)boneName2(char*)
Usage
Lua (Direct):
AttachEntitiesToRope2(ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2)
Lua (Hash):
Citizen.InvokeNative(0x462FF2A432733A44, ropeId, entity1, entity2, ent1X, ent1Y, ent1Z, ent2X, ent2Y, ent2Z, boneName1, boneName2)