Attach Objects
Temporarily or infinitely attach an object to a client.
Athena.player.emit.objectAttach
Allows users to have objects attached to their players. They can be temporarily added or added for the entire play session.
Accessible on Server Side
Example
const attachable: IAttachable = {
model: 'prop_tool_fireaxe',
bone: 57005,
pos: {
x: 0.1,
y: -0.1,
z: -0.02,
},
rot: {
x: 80,
y: 0,
z: 170,
},
};
Athena.player.emit.objectAttach(player, attachable, 5000);

Last updated