SetPlayerRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Needs_Checking|Couldn't get it functioning, with help -Ransom}}
[[Category:Incomplete]]


__NOTOC__  
__NOTOC__  

Revision as of 21:16, 3 December 2006


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