GetObjectRotation

From Multi Theft Auto: Wiki
Revision as of 12:41, 3 August 2007 by Driver2 (talk | contribs)
Jump to navigation Jump to search

Object rotation can be retrieved from objects in mapfiles or objects that are created in scripts.

Syntax

Click to expand [+]
Server
Click to expand [+]
Client

Example

If a player points at an object with a gun, it will output it's rotation to the player.

Click to expand [+]
Server
Click to expand [+]
Client

See Also

Shared