Entity.EyeAngles

From GMod Wiki

Revision as of 19:54, 29 October 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:EyeAngles( )
Description:
In the case of a ragdoll, returns the directions the eyes are pointing. In the case of a player, returns the angle that the player is looking at as an angle.
Returns: Angle
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.EyeAngles]Entity.EyeAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

Descriptionprints your eye angles
Used onNewerClient.png
Code
print(LocalPlayer():EyeAngles())
OutputEyeAngles


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox