Garry's Mod Wiki

Vehicle:GetDriver

  Entity Vehicle:GetDriver()

Description

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

Returns

1 Entity
The driver of the vehicle.