Jump to content

[Question] Vehicle Sounds


Recommended Posts

Is it possible to somehow change the engine sound (just the "vroom vroom" :P ) to another sound?

To be more exact, having a car make the sound an electric car would.

I've seen some topics about this, but they were rather old and maybe not up to date with the latest updates of MTA.

Thanks in advance.

Link to comment
setWorldSoundEnabled() -- disable default engine sound 
playSound3D() -- play your own sound 
attachElements() -- attach it to the vehicle 
getElementVelocity() -- adjut sound properties depending on speed 
createColSphere() -- for playing the engine sound for all the other players that are near the car 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...