Garry's Mod Wiki

GM:CalcVehicleView

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

Special Pages


Wikis

?

Render Time: 25ms

DB GetPage 2
Generate Html 7
SaveChanges (1) 7
Render Body 0
Render Sidebar 6