SetPedCameraRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Client function}} __NOTOC__ This function sets the camera rotation of a ped. ==Syntax== <syntaxhighlight lang="lua"> bool setPedCameraRotation ( ped ped, float rx, float ry, float rz ) </syntaxhighlight> ===R...)
(No difference)

Revision as of 23:53, 2 May 2009

This function sets the camera rotation of a ped.

Syntax

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

Required Arguments

  • ped: the PED element whose state is to be changed
  • rx: the new rotation x
  • ry: the new rotation y
  • rz: the new rotation z

Returns

Returns true if the camera rotation could be changed, false otherwise.

Example

--Write an example

See Also