frekons Posted October 16, 2017 Share Posted October 16, 2017 (edited) I'm external then i can not call the get bone pos function so i need to get they in any variable, i found some information void *pNeck; /* 1164 - void* pNeck (pChest?) - 4 unknown - float height - float front/back - float left/right - void* pObject (same struct for the following body-part-pointers [except pLeft/RightArm]) */ void *pHead; /* 1168 */ void*pLeftArm; /* 1172 */ void *pRightArm; /* 1176 */ void *pLeftLowArm; /* 1180 */ void *pRightLowArm; /* 1184 */ void*pLeftLeg; /* 1188 */ void *pRightLeg; /* 1192 */ void *pLeftLowLeg; /* 1196 */ void *pRightLowLeg; /* 1200 */ void*pRightMidLeg; /* 1204 */ void *pLeftMidLeg; /* 1208 */ void *pLeftMidArm; /* 1212 */ void *pRightMidArm; /* 1216 */void *pLeftShoulder; /* 1220 */ void *pRightShoulder; /* 1224 */ void *pChest; /* 1228 */ void *pMouth; /* 1232 */ but i don't know how can i use that DWORD temp = Manager.Read<DWORD>(TheEnemy + 0x48C); DWORD temp2 = Manager.Read<DWORD>(temp + 0x10); D3DXVECTOR3 headingVec = Manager.Read<D3DXVECTOR3>(temp2+ 0x30); this didn't work(reading +0x10 cause i just saw somewhere object class at this pos), also DWORD temp = Manager.Read<DWORD>(TheEnemy + 0x48C); D3DXVECTOR3 headingVec = Manager.Read<D3DXVECTOR3>(temp + 0x30); this didn't work too so im wating any answer Edited October 16, 2017 by frekons Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2017 Share Posted October 17, 2017 (edited) I recommend you to use RW's procedures instead of deal with D3D. See the Plugin SDK and search for bones in ped models. https://github.com/DK22Pac/plugin-sdk/tree/master/plugin_sa/game_sa You can ask for doubts in official server of support to Plugin SDK. https://discord.gg/mVJcXXv Edited January 18, 2018 by Guest Link to comment Share on other sites More sharing options...