Skip to content

StopSfx (RSDKv4)

Description

Stops all instances of the given sound effect playing.

Parameters

sfx

The slot of the sound effect. It's recommended to the SfxName alias for this.

Return Value

None.

Syntax

StopSfx(int sfx)

Example

StopSfx(SfxName[Test])