Garry's Mod Wiki

Player:GetVehicle

  Vehicle Player:GetVehicle()

Description

Gets the vehicle the player is driving, returns NULL ENTITY if the player is not driving.

Returns

1 Vehicle
vehicle