Vehicle/GetPassenger

From Garry's Mod
Revision as of 19:48, 23 February 2014 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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