Skip to content

PauseSfx

Notice

This is a new function added in RSDKv4+.

Pauses 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

PauseSfx(int sfx)

Example

PauseSfx(SfxName[Test])