Vehicle:GetVehicleViewPosition

From Garry's Mod
Jump to: navigation, search
 Vehicle:GetVehicleViewPosition( )

Contents

Description

Returns the view position and forward angle of a given passenger seat.

Arguments

number role

The passenger role. ( 1 is the driver )

Returns

Vector

The view position

Returns

Angle

The view angles

Returns

number

The field of view
Personal tools
Navigation