Garry's Mod Wiki

GM:CalcVehicleView

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 Structures/CamData

Returns

1 table
The modified view table containing new values, see Structures/CamData

Page Links


Special Pages


Wikis

?

Render Time: 43ms

DB GetPage 3
Generate Html 16
SaveChanges (1) 9
Render Body 0
Render Sidebar 12