Jump to content

[Question] Sounds


Crook4Money

Recommended Posts

Posted

its simple if you want to stop the sound make a function of it and use a command handler 

function stopMySound()
    stopSound( thesound )
end
addCommandHandler ( "stops", stopMySound )

 

Posted

I meant deny a command as in active command not sound. Probably shouldn't have put "Sounds", but that's what I'm trying to use it for.

For example if you play "sound" using command "play" 

If you used the command "play" again it would duplicate the sound, triplicate, ect. which is what I'd be trying to prevent.

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