Garry's Mod Wiki

Vehicle:GetPassenger

Vehicle:GetPassenger

  Entity Vehicle:GetPassenger( number passenger )

Description

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

Arguments

1 number passenger
The index of the passenger

Returns

1 Entity
The passenger

Special Pages


Wikis

?

Render Time: 21ms

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