# getVehicleEngineSounds (Cliente)

> Lista os conjuntos de sons de motor que os pacotes montados trazem.

- **Plataforma**: MY Multiplayer (MYMP)
- **Tipo**: Função Lua
- **Lado**: Cliente
- **Categoria**: Veículos
- **URL**: https://wiki.mymp.gg/pt/getVehicleEngineSounds

## Sintaxe

```lua
table getVehicleEngineSounds()
```

## Retorno

Uma tabela em ordem de nome. Cada item tem `name` (o nome), `engine` (`true` se o conjunto traz gravações de motor) e `induction` (`"turbo"`, `"supercharger"` ou `false`).

## Exemplo

```lua
for _, set in ipairs(getVehicleEngineSounds()) do
    if set.engine then
        outputDebugString(set.name .. " " .. tostring(set.induction))
    end
end
```

## Veja também

- [setVehicleEngineSound (Cliente)](https://wiki.mymp.gg/pt/setVehicleEngineSound.md): Troca o som do motor de um veículo neste cliente por um conjunto de sons dos pacotes montados.
- [getVehicleEngineSound (Cliente)](https://wiki.mymp.gg/pt/getVehicleEngineSound.md): Devolve os sons de motor e de indução que setVehicleEngineSound pôs num veículo.
