GetPedRotation

From Multi Theft Auto: Wiki
Revision as of 00:16, 28 March 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Gets the rotation of a ped. ==Syntax== <syntaxhighlight lang="lua"> float getPedRotation ( ped thePed ) </syntaxhighlight> ===Required Arguments=== *'''thePed:''' the ped to get the ro...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gets the rotation of a ped.

Syntax

float getPedRotation ( ped thePed )

Required Arguments

  • thePed: the ped to get the rotation of.

Returns

Returns the rotation of the ped, in degrees. 0 means facing north, higher values go counter clockwise.

See Also