Garry's Mod Wiki

Player:GetDrivingMode

  number Player:GetDrivingMode()

Description

Returns driving mode of the player. See Entity Driving.

Returns

1 number
The drive mode ID or 0 if player doesn't use the drive system.