rvmod Posted July 10, 2015 Share Posted July 10, 2015 How to attach objects to players using ATTACH_ENTITY_TO_ENTITY and ATTACH_ENTITY_TO_ENTITY_PHYSICALLY?. It's quite confusing. Link to comment Share on other sites More sharing options...
ImMatt Posted July 12, 2015 Share Posted July 12, 2015 basically this is an example: ENTITY::ATTACH_ENTITY_TO_ENTITY(object, PLAYER::PLAYER_PED_ID, ENTITY::_GET_ENTITY_BONE_INDEX(hashofplayer, bonename), 0.0, -2.5, 0.85, 0.0, 0.0, 0.0, false, false, false, false, 2, true) http://pastebin.com/D7JMnX1ghere is the list of bone names, scroll down a little to find where it shows bone names and you'd put the name in the space above where it says bonename. You can mess around a little with the x,y,z position and rotation. For the bools, I have no idea what they are so you can test those out and see what they do. Hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now