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| | {{FuncDescription|Gets all the sound IDs in a table.}} | ||
{{FuncSyntax|GetAllSounds()}} | {{FuncSyntax|GetAllSounds()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns a table.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local table = GetAllSounds() | |||
<syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{SoundFunctions}} |
Revision as of 11:04, 6 January 2020
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>