Garry's Mod Wiki
Description
Returns the entity the player is using to see from (such as the player itself, the camera, or another entity).
This function will return a [NULL Entity] until Player:SetViewEntity has been used
Returns
Example
Will print what entity the first player uses to look through.
Output: Player [1][ExamplePlayer]
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...