AthenaShared.interfaces.iAttachable.IAttachable ​
shared/interfaces/iAttachable.IAttachable
Used in the attachement system when attaching objects to a player.
Interface
IAttachable
Hierarchy ​
IAttachable
↳
JobAttachable
Properties ​
bone ​
• bone: PedBone
Where to begin attaching the object.
If this is not defined it will be around center position of the player it is attached to.
This is a 'Bone ID' and not a 'Bone Index'
Use the PedBone enum provided in Athena for correct value
Defined in ​
shared/interfaces/iAttachable.ts:51
entityID ​
• Optional
entityID: number
Do not define this. Leave it alone.
Defined in ​
shared/interfaces/iAttachable.ts:58
model ​
• model: string
The model or object of the attachable.
Defined in ​
shared/interfaces/iAttachable.ts:23
pos ​
• pos: IVector3
The position where the object should be attached.
Defined in ​
shared/interfaces/iAttachable.ts:30
rot ​
• rot: IVector3
The rotation where the object should be attached.
Defined in ​
shared/interfaces/iAttachable.ts:37
uid ​
• Optional
uid: string
The unique identifier for this attachable.