SetPedCameraRotation

From Multi Theft Auto: Wiki
Revision as of 16:13, 11 January 2014 by Zangomangu (talk | contribs) (Needs example)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function SetPedCameraRotation needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


This function sets the camera rotation of a ped.

Syntax

bool setPedCameraRotation ( ped thePed, float cameraRotation )

Required Arguments

  • thePed: The ped whose camera rotation is to be changed
  • cameraRotation: The new direction that the ped will walk if you set their forwards control state

Returns

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

Example

--TODO

See Also