Here is a simple code to show you how to attach and hold box/pickup object with its animation
-- Animation: 'mech_carry_box', 'idle'
-- Then create object and attach to ped
-- object: p_crate03c
AttachEntityToEntity(entity, ped, GetEntityBoneIndexByName(ped, "skel_r_hand"), 0.017, -0.065, -0.206, -104.243, 13.885, 27.472, true, true, false, false, 0, true)You can use spooner so you easily test them and search,..etc