Garry's Mod Wiki

Garry's Mod Wiki

  table GM:CalcVehicleView( Vehicle veh, Player ply, table view )

Description

Called from GM:CalcView when player is in driving a vehicle.

This hook may not be called in gamemodes that override GM:CalcView.

Arguments

1 Vehicle veh
The vehicle the player is driving
2 Player ply
The vehicle driver
3 table view
The view data containing players FOV, view position and angles, see CamData structure

Returns

1 table
The modified view table containing new values, see CamData structure

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 twice a day. Edits and history are not available.

Last Parsed: Loading...