Garry's Mod Wiki

Garry's Mod Wiki

  DRIVE:CalcView( table view_in )

Description

Optionally alter the player's view if they are using this drive mode.

This hook is called from the default implementation of GM:CalcView which is here. Therefore, it will not be called if any other hook added to CalcView returns any value, or if the current gamemode overrides the default hook and does not call drive.CalcView.

Arguments

1 table with ViewData structure view_in
The view, see ViewData structure. Modify this table.

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...