Stop Sound Playback
Stops the sounds indicated by Sound Name that are currently playing in Streamer.bot
Parameters
Sound Name
string required
The name of the sound to stop playing
Variables
Name | Type | Description |
---|---|---|
No data |
C# Usage
Stops the currently playing sound from Streamer.bot, by name
0.2.4
public void StopSoundPlayback(string soundName)
soundNamestring required
using System;
public class CPHInline
{
public bool Execute()
{
//Stop all sounds with the name "Kachow"
CPH.StopSoundPlayback("Kachow");
return true;
}
}