IsValidSound

From Onset Developer Wiki
Revision as of 09:23, 14 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IsValidSound

Type: Function
Context: Client
Introduced: v1.0

Description

Checks whether the sound is valid or not.

Syntax

IsValidSound(sound)

Parameters

  • sound
    The sound identifier

Return Value

  • Returns true if the sound is valid, otherwise false.

Example

if IsValidSound(soundId) then
    DeleteSound(soundId)
end

See also