Garry's Mod Wiki

GM:CalcVehicleView

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

Returns

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

Page Links


Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 4
Generate Html 21
SaveChanges (1) 9
Render Body 0
Render Sidebar 12