With this snippet you can read out the positions of bones in an actor!
Here are the bone-ids:
(picture not by me)
and heres the function:
Its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..
Drawing a line from Head to foot:
ok bye
Here are the bone-ids:
(picture not by me)
and heres the function:
Code:
{
GET BONE POSITION:
0AB1: call_scm_func @GET_BONE_POS 2 FROM_ACTOR $PLAYER_ACTOR BONE 6 _STORE_TO 1@ 2@ 3@ // HEAD
}
:GET_BONE_POS
0085: 10@ = 0@ // (int)
0085: 15@ = 1@ // (int)
1@ = 0.0 // X offset
2@ = 0.0 // Y offset {THX TO: WESSER}
3@ = 0.0 // Z offset
0A96: 0@ = actor 10@ struct
0AC7: 4@ = var 1@ offset
0AA6: call_method 0x5E01C0 struct 0@ num_params 3 pop 0 bIncludeAnim 1 iBoneID 15@ vOffset 4@ // CPed__getBonePositionWithOffset
0AB2: retn 3 1@ 2@ 3@
Its useful for lot of shits.. like making an Head Aimbot, Esp Hacks, and blabla..
Drawing a line from Head to foot:
ok bye