SetPedCameraRotation

From Multi Theft Auto: Wiki
Revision as of 13:02, 20 October 2013 by Shmorf (talk | contribs) (Undo revision 37338 by FaLsE Country (talk))
Jump to navigation Jump to search

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