ISOFX 78 Posted June 9, 2015 Share Posted June 9, 2015 Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Link to post Share on other sites
MrPancakes 4 Posted June 9, 2015 Share Posted June 9, 2015 (edited) Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g Edited June 9, 2015 by MrPancakes Link to post Share on other sites
ISOFX 78 Posted June 9, 2015 Author Share Posted June 9, 2015 Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g Yes i know this, im looking for someone to get it done for me. If i change it to hand will it be in the players hand? With the correct rotation. Link to post Share on other sites
MrPancakes 4 Posted June 9, 2015 Share Posted June 9, 2015 (edited) Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g im looking for someone to get it done for me. Errm, why can't you do this yourself? Edited June 9, 2015 by MrPancakes 1 Link to post Share on other sites
Jitnaught 422 Posted June 9, 2015 Share Posted June 9, 2015 Because he's lazy. 2 Link to post Share on other sites
ffzero58 108 Posted June 9, 2015 Share Posted June 9, 2015 Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g Yes i know this, im looking for someone to get it done for me. If i change it to hand will it be in the players hand? With the correct rotation. Dude, I helped you out on skype. Really, take some time to learn the basics of programming. You are already 75-80% there, however the gaps in your knowledge are preventing you from fully grasping how the logic and syntax work. If you're going to support your mod, learn to code. 1 Link to post Share on other sites
ISOFX 78 Posted June 10, 2015 Author Share Posted June 10, 2015 Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g im looking for someone to get it done for me. Errm, why can't you do this yourself? Because he's lazy. I Have tried getting it in the hand for about 1 hour now and i cant do it, lol so if someone had the rotations for the hand i would appreciate it if they could give me it, and no lol im not lazy Link to post Share on other sites
Vrock_wave 198 Posted June 10, 2015 Share Posted June 10, 2015 (edited) Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g im looking for someone to get it done for me. Errm, why can't you do this yourself? Because he's lazy. I Have tried getting it in the hand for about 1 hour now and i cant do it, lol so if someone had the rotations for the hand i would appreciate it if they could give me it, and no lol im not lazy I spent roughly about one day to adjust the rotation of objects in a rock concert, I just did not know it by experience comes when you try to re many options of rotation and the desired distance on the arm an example of a sword in his hand pushes away from it at least ENTITY.ATTACH_ENTITY_TO_ENTITY(obj, playerPed, PED.GET_PED_BONE_INDEX(PLAYER.PLAYER_PED_ID(), 28422), 0.05, 0.0, 0.0, 0.0, 90.0, 90.0, false, false, false, false, 2, true); parameters : the displacement of the hand(4,5,6- x,y,z) rotation(7,8,9- x,y,z) Edited June 10, 2015 by Vrock_wave Link to post Share on other sites
ISOFX 78 Posted June 10, 2015 Author Share Posted June 10, 2015 Can someone help me rotate an object it is a wine glass so i want to get it in the players hand but i cant get it in his hand i can only get it right in front of my player and on the side but not in his hand. If someone could help me get it right i would appreciate it a lot thanks. Some code for the rotation bit but these are the wrong rotations so could someone please fix it i have been trying to get it there but its not working. Please put it as below but edited. Thanks Code - ENTITY::ATTACH_ENTITY_TO_ENTITY(object, playerPed, 0x49d9, -0.58, 0.45, -0.07, 0.0, 0.0, 0.0, false, false, false, false, 2, true); Thanks Use params 7, 8, and 9 to rotate, just tinker until you get it the way you want. Also, "0x49d9" is the players left wrist, not hand . http://pastebin.com/D7JMnX1g im looking for someone to get it done for me. Errm, why can't you do this yourself? Because he's lazy. I Have tried getting it in the hand for about 1 hour now and i cant do it, lol so if someone had the rotations for the hand i would appreciate it if they could give me it, and no lol im not lazy I spent roughly about one day to adjust the rotation of objects in a rock concert, I just did not know it by experience comes when you try to re many options of rotation and the desired distance on the arm an example of a sword in his hand pushes away from it at least ENTITY.ATTACH_ENTITY_TO_ENTITY(obj, playerPed, PED.GET_PED_BONE_INDEX(PLAYER.PLAYER_PED_ID(), 28422), 0.05, 0.0, 0.0, 0.0, 90.0, 90.0, false, false, false, false, 2, true); parameters : the displacement of the hand(4,5,6- x,y,z) rotation(7,8,9- x,y,z) Thanks, will try this later Link to post Share on other sites