SetPedCameraRotation

From Multi Theft Auto: Wiki
Revision as of 09:11, 3 May 2009 by Awwu (talk | contribs)
Jump to navigation Jump to search

This function sets the camera rotation of a ped.

Syntax

bool setPedCameraRotation ( ped thePed, float rx, float ry, float rz )

Required Arguments

  • thePed: The ped element whose state is to be changed
  • rx: The new rotation on the X axis of the camera
  • ry: The new rotation on the Y axis of the camera
  • rz: The new rotation on the Z axis of the camera

Returns

Returns true if the camera rotation was changed, false otherwise.

Example

--TODO

See Also