Garry's Mod Wiki

Entity:IsVehicle

  boolean Entity:IsVehicle()

Description

Checks if the entity is a vehicle or not.

Returns

1 boolean
Whether the entity is a vehicle.