Okay so I am trying to get a person that looks like they are holding a phone recording a video with it. Based on some things I have seen on these forums I managed to get what you see in the image below so far. Is there some way to figure out which vector3 values or rotator3 values to use? I tried using a trainer in the game to spawn in an object, and I can get values but those don't help as the person moves around so those positions can change. Is there some proper way to do this? I have included my code I have to do this below:
Object phone = new Object("prop_npc_phone", Vector3.Zero);
if (phone.Exists())
phone.AttachTo(ped, ped.GetBoneIndex(PedBoneId.LeftHand), new Vector3(, -0.5619f, -0.5837f), new Rotator(-15f, -2.414763f, 3.98779f));
ped.Tasks.PlayAnimation("cellphone@", "cellphone_photo_idle", 1.3f, AnimationFlags.Loop | AnimationFlags.UpperBodyOnly | AnimationFlags.SecondaryTask);
ped.BlockPermanentEvents = true;