Skip to content

Files

Latest commit

31e6ea9 · Oct 27, 2024

History

History
49 lines (27 loc) · 1 KB

PlaySound.float.float.float.bool.float.md

File metadata and controls

49 lines (27 loc) · 1 KB

PlaySound(float, float, float, bool, float)

Plays the SOUND.

void playSound(float volume, float pitch, out float channel, const bool LOOP, const float SOUND)

Parameters

volume

Type: float

Volume of the sound (0 - 1).

pitch

Type: float

Pitch of the sound (0 - 4).

channel

Modifiers: out

Type: float

The channel at which the sound is playing (0 - 9, or -1 if all other channels are used).

LOOP

Modifiers: const

Type: bool

If the sound should loop.

SOUND

Modifiers: const

Type: float

Which sound to play, one of SOUND.

Related