Author Topic: !stopsound  (Read 10636 times)

0 Members and 1 Guest are viewing this topic.

Offline Bloodclaw

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
!stopsound
« on: February 22, 2008, 11:08:13 AM »
Hi!
Could it be possible to do a !stopsound command, so it does exactly the same thing as when we type "stopsound" in console, except that it does not need sv_cheats 1 ?
I often still have burning sounds after burning objects / igniting players, and I don't want to activate cheats.

Thanks  :)

Offline high6

  • Newbie
  • *
  • Posts: 15
  • Karma: -2
Re: !stopsound
« Reply #1 on: February 22, 2008, 01:11:18 PM »
stopsounds doesn't need sv_cheats 1.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: !stopsound
« Reply #2 on: February 22, 2008, 01:39:27 PM »
stopsounds doesn't need sv_cheats 1.

Listen to this person. :)
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: !stopsound
« Reply #3 on: February 22, 2008, 07:21:34 PM »
And just so there isn't confusion, let me make sure this is clear. (I've seen the debate so many times because the detail is in the S)

You must use plural 'stopsounds' in console.
No S does require sv_cheats.

That being said ... his suggestion might have some merit, but not for the reason he states.
I used ulx playsound to play a sound to a server the other night.
The sound, played in Source games, loops. I didn't know this (It's title didn't have 'loop' as so many of the sound titles do)
It continued looping until I and the clients used stopsounds in console.
Perhaps a ulx stopsounds wouldn't be a bad idea after all.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bloodclaw

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: !stopsound
« Reply #4 on: February 23, 2008, 02:08:53 AM »
stopsounds doesn't need sv_cheats 1.

You must use plural 'stopsounds' in console.


stopsound (no S) need sv_cheats 1  :P

It's a dedicated server screen, ok but I type that in my console too :

Offline high6

  • Newbie
  • *
  • Posts: 15
  • Karma: -2
Re: !stopsound
« Reply #5 on: February 23, 2008, 06:57:22 AM »
stopsounds is a gmod client command, dedicated server doesn't have because it has no use for it.

Offline Bloodclaw

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: !stopsound
« Reply #6 on: February 23, 2008, 07:46:59 AM »
We're both right  :D



stopsounds stop all sounds.
stopsound stop all sounds and tell you what sounds (filepath) it stopped.

stopsounds doesn't need sv_cheats 1.

You thought it didn't need that because you just played singleplayer / created a listenserver. It's not the case of dedicated servers.

Offline high6

  • Newbie
  • *
  • Posts: 15
  • Karma: -2
Re: !stopsound
« Reply #7 on: February 23, 2008, 12:26:12 PM »
stopsounds does not need sv_cheats 1.

Do you want a freaking video?

Offline benbrooks

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: !stopsound
« Reply #8 on: February 23, 2008, 12:42:24 PM »
Code: [Select]
ulx cexec <all> stopsounds
Simple.

Offline Bloodclaw

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: !stopsound
« Reply #9 on: February 23, 2008, 01:24:32 PM »
stopsounds does not need sv_cheats 1.


I thought it does, but you're right.



(Commands are confusing me  :P )