Garry's Mod Wiki

Player:InVehicle

  boolean Player:InVehicle()

Description

Returns if the player is in a vehicle

Returns

1 boolean
Whether the player is in a vehicle.