Jump to content

HELP SOUND


roddydennvor

Recommended Posts

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

Link to comment
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) 

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...