Vehicle/GetPassenger

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

Description

Gets the passenger of the vehicle, returns NULL if no drivers is present.

Arguments

number passenger

The index of the passenger

Returns

Entity

The passenger
Personal tools
Navigation