M MY Multiplayer: Wiki
Side
Kind

getVehicleEngineSounds

Client

Lists the engine sound sets the mounted packs bring.

table getVehicleEngineSounds()

Returns

A table sorted by name. Each item has name (the name), engine (true if the set brings engine recordings) and induction ("turbo", "supercharger" or false).

Example

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

See also