SetPlayerRotation

From Multi Theft Auto: Wiki
Revision as of 04:26, 3 October 2006 by JonChappell (talk | contribs)
Jump to navigation Jump to search
Dialog-information.png This article needs checking.

Reason(s): Couldn't get it functioning, with help -Ransom


Thid function allows you to set the current rotation of the specified player.

Syntax

bool setPlayerRotation ( element player, float rotation )         

Required Arguments

  • player: An element referring to a player.
  • rotation: A float specifying the desired rotation.

Returns

Returns true if successful, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also