SlashCo Wiki

SlashCo.AudioSystem.StopSound

  SlashCo.AudioSystem.StopSound( string identifier, number fadeOut = 0, Entity entity, table or Entity sendToEntity )

Description

Stops the sound matching the given information

Arguments

1string identifier

The sound identifier

2number fadeOut = 0

How many seconds it takes for it to fade out

3Entity entity

The entity the sound is playing on

4table or Entity sendToEntity

The player or table of players to stop the sounds for

This argument only works serverside!