ENTITY
ATTACH_ENTITY_TO_ENTITY_PHYSICALLY
0xC3675780C92F90F9
Jenkins: 0x0547417F
Signature
// ENTITY
void ATTACH_ENTITY_TO_ENTITY_PHYSICALLY(Entity entity1, Entity entity2, int boneIndex1, int boneIndex2, float xPos1, float yPos1, float zPos1, float xPos2, float yPos2, float zPos2, float xRot, float yRot, float zRot, float breakForce, BOOL fixedRot, BOOL p15, BOOL collision, BOOL p17, int p18)
Parameters
| Type | Name |
|---|---|
| Entity | entity1 |
| Entity | entity2 |
| int | boneIndex1 |
| int | boneIndex2 |
| float | xPos1 |
| float | yPos1 |
| float | zPos1 |
| float | xPos2 |
| float | yPos2 |
| float | zPos2 |
| float | xRot |
| float | yRot |
| float | zRot |
| float | breakForce |
| BOOL | fixedRot |
| BOOL | p15 |
| BOOL | collision |
| BOOL | p17 |
| int | p18 |
Return type void
Build 323
Documentation
breakForce is the amount of force required to break the bond. p14 - is always 1 in scripts p15 - is 1 or 0 in scripts - unknoun what it does p16 - controls collision between the two entities (FALSE disables collision). p17 - do not teleport entity to be attached to the position of the bone Index of the target entity (if 1, entity will not be teleported to target bone) p18 - is always 2 in scripts.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.