Player.GetShootPos
From GMod Wiki
Function | |
Syntax | Entity:GetShootPos( ) |
Description: | |
Returns the gun's shoot position | |
Returns: | Vector |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.GetShootPos]Player.GetShootPos [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The shoot position of a player is the center of their head. Tracers come out of the barrel, but bullets come out of this position to ensure that they don't hit a wall before they reach the crosshair's position.