Jump to content

playSound


Recommended Posts

guys can you tell me how to play sound after 1 sec ? 

i tried this but nothing happened

function playsound ()
	local sound = playSound("mysound.mp3")
		setTimer(function()
	setSoundVolume(sound, 0.5)
end, 2000, 1)
end
		addCommandHandler("thecommand", playsound)
		

oh never mind i fixed it :D

Edited by Snakegold
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...