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 =..."
 
28days (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
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}}

Latest 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

local table = GetAllSounds()

See also