roddydennvor Posted November 9, 2014 Posted November 9, 2014 1 . How to make script , when i click NPC then do playsound function ? I mean when gui opened and the sound will played ? sorry bad english 2. How to replace vehicle destroy sound ? boom 3. How to play sound when vehicle engine turn on ? 4. How to play sound when someone is jailed ? (i think this server side ? ) Thanks a Lot's
Enargy, Posted November 10, 2014 Posted November 10, 2014 can you explain me with more details, please?
Moderators IIYAMA Posted November 11, 2014 Moderators Posted November 11, 2014 @roddydennvor It is all on the wiki. https://wiki.multitheftauto.com/wiki/PlaySound
Bilal135 Posted November 11, 2014 Posted November 11, 2014 Ans 1. Show your code. Ans 2. Show your code. Ans 3. (See the code) function engineSound(Player) playSound("sound directory\sound file.mp3", Player) end addEventHandler("onPlayerVehicleEnter", root, engineSound) Ans4. Show your code.
Anubhav Posted November 11, 2014 Posted November 11, 2014 Ans 1. Show your code.Ans 2. Show your code. Ans 3. (See the code) function engineSound(Player) playSound("sound directory\sound file.mp3", Player) end addEventHandler("onPlayerVehicleEnter", root, engineSound) Ans4. Show your code. Boom! Will give out a epic error! function engineSound(Player) playSound("sound directory/sound file.mp3", Player) end addEventHandler("onPlayerVehicleEnter", root, engineSound)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now