GetAllSounds: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetAllSounds()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Example =...")
 
No edit summary
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets all the sound IDs in a table.}}


{{FuncSyntax|GetAllSounds()}}
{{FuncSyntax|GetAllSounds()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns a table.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
local table = GetAllSounds()
<syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{SoundFunctions}}

Revision as of 11:04, 6 January 2020

GetAllSounds

Type: Function
Context: Client
Introduced: v1.0

Description

Gets all the sound IDs in a table.

Syntax

GetAllSounds()

Parameters

  • This function has no parameters.

Return Value

  • This function returns a table.

Example

<syntaxhighlight lang="Lua"> local table = GetAllSounds() <syntaxhighlight>

See also