attachEntityBoneToEntityBoneYForward
ATTACH_ENTITY_BONE_TO_ENTITY_BONE_Y_FORWARD0xFD1695C5D3B05439The GTA V native ATTACH_ENTITY_BONE_TO_ENTITY_BONE_Y_FORWARD of the ENTITY namespace, as LS:MP client scripts call it: the global function attachEntityBoneToEntityBoneYForward, in JavaScript and in Lua.
attachEntityBoneToEntityBoneYForward(
entity1: Entity,
entity2: Entity,
boneIndex1: number,
boneIndex2: number,
p4: boolean,
p5: boolean
): voidattachEntityBoneToEntityBoneYForward(
entity1: Entity,
entity2: Entity,
boneIndex1: integer,
boneIndex2: integer,
p4: boolean,
p5: boolean
)Usage
JavaScript
attachEntityBoneToEntityBoneYForward(entity1, entity2, boneIndex1, boneIndex2, p4, p5);Lua
attachEntityBoneToEntityBoneYForward(entity1, entity2, boneIndex1, boneIndex2, p4, p5)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity1 | Entity | number | integer |
entity2 | Entity | number | integer |
boneIndex1 | int | number | integer |
boneIndex2 | int | number | integer |
p4 | BOOL | boolean | boolean |
p5 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void ATTACH_ENTITY_BONE_TO_ENTITY_BONE_Y_FORWARD(Entity entity1, Entity entity2, int boneIndex1, int boneIndex2, BOOL p4, BOOL p5)- Hash
0xFD1695C5D3B05439- Introduced
- Game build 791 legacy numbering
- Formerly
_ATTACH_ENTITY_BONE_TO_ENTITY_BONE_PHYSICALLY