# Classes

**Vehicle Rating**

```lua
exports['i_garages']:getVehicleOverallRating(vehicle) ---- Returns Vehicle Rating

--- Example

RegisterCommand('showRating', function()
  print('My Rating', exports['i_garages']:getVehicleOverallRating(GetVehiclePedIsIn(PlayerPedId(), false)))
end)
```

**Vehicle Class**

```lua
exports['i_garages']:getVehicleClassLetter(vehicle) --- Returns Vehicle Class

--- Example

RegisterCommand('myClass', function()
  print('My Class', 
  e xports['i_garages']:getVehicleClassLetter(GetVehiclePedIsIn(PlayerPedId(), false))
  )
end)
```
