I am new with derma menues, i managed to setup a derma menu that pops up when you press “e” on my money printer, i managed to add a button,
Now my next step is to start setting the buttons up, i managed to add a chatprint when you press on the button, but that wasnt my goal.
Now i come here to get some help with setting a button up.
button.DoClick = function() print( "test" )
I want the button to mute the money printer when i press on it, but i am simply stuck in this.
button.DoClick = function() ent.sound:Stop() self:Remove()
But i am doing it wrong, so could anyone help me to get further with this?