SWEP.CalcView
From GMod Wiki
Event Hook | |
Hook Name | CalcView |
Syntax | SWEP:CalcView( Player Player, Vector Origin, Angle Angles, Number FOV ) |
Description | A hook into GM:CalcView. |
Returns | Vector Origin, Angle Angles, Number FOV |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.CalcView]SWEP.CalcView [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- This function is run every frame in GM:CalcView in base gamemode. If you override this function in a custom gamemode, CalcView will no longer be called.