AttachEntityToEntityPhysically — FiveM Natives
0xC3675780C92F90F9 · ENTITY · all
`` breakForce is the amount of force required to break the bond. p14 - is always 1 in scripts p15 - is 1 or 0 in scripts - unknown 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. ``
Parameters
| Name | Type |
|---|---|
| entity1 | Entity |
| entity2 | Entity |
| boneIndex1 | int |
| boneIndex2 | int |
| xPos1 | float |
| yPos1 | float |
| zPos1 | float |
| xPos2 | float |
| yPos2 | float |
| zPos2 | float |
| xRot | float |
| yRot | float |
| zRot | float |
| breakForce | float |
| fixedRot | BOOL |
| p15 | BOOL |
| collision | BOOL |
| teleport | BOOL |
| p18 | int |
Returns
void