Camera::pointAtPedBone
Sets the camera so it's pointing towards a ped's bone.
Bones List: [Bones](/bones)
Syntax
``` camera.pointAtPedBone(ped, boneIndex, x, y, z, p6); ```
Required Arguments
- ped: int
- boneIndex: int
- x: float
- y: float
- z: float
- p6: Boolean (The bool p6 is unknown, but through every X360 script it's always 1.)
Return value
- Undefined
Example
This event locks the camera onto the players hand.