Get vehicle name in gmod ?

if i spawn this car in Gmod DarkRP.

Name = “Mini Cooper 1965”,
Class = “prop_vehicle_jeep”,
Model = “models/tdmcars/cooper65.mdl”,

I know how i can get the Class “prop_vehicle_jeep” and the Model “models/tdmcars/cooper65.mdl”

But how do i get the Name “Mini Cooper 1965” ?

Tried with GetName() but that don’t seem to do the job

Correct me if I’m wrong, but entities don’t really have “names”. The closest you can get is a class identifier. DarkRP adds names for the F4 menu, so that you know what you are buying.

You could possibly get the name of the vehicle by comparing it to the list of DarkRP vehicles.