Garry's Mod Wiki

Vehicle:IsValidVehicle

  boolean Vehicle:IsValidVehicle()

Description

Returns true if the vehicle object is a valid or not. This will return false when Vehicle functions are not usable on the vehicle.

Returns

1 boolean
Is the vehicle a valid vehicle or not