Player.SnapEyeAngles
From GMod Wiki
Function | |
Syntax | Player:SnapEyeAngles( Angle aim ) |
Description: | |
Sets player Eye angle to the specified angle. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SnapEyeAngles]Player.SnapEyeAngles [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Set a player's eye angle. |
---|---|
Used on | |
Code | player.GetByID(1):SnapEyeAngles( Angle(0,0,0) ) |
Output | player's view instantly points at Angle(0,0,0) |