GM:CalcVehicleView

From Garry's Mod
Jump to: navigation, search
 GM:CalcVehicleView( )

Contents

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

Vehicle veh

The vehicle the player is driving

Arguments

Player ply

The vehicle driver

Arguments

table view

The view data containing players FOV, view position and angles, see CamData structure

Returns

table

The modified view table containing new values, see CamData structure
Personal tools
Navigation