GetObjectRotation: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Server client function}}
__NOTOC__  
__NOTOC__  
Object rotation can be retrieved from objects in mapfiles or objects that are created in scripts.  
Object rotation can be retrieved from objects in mapfiles or objects that are created in scripts.  

Revision as of 13:36, 3 August 2007

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