Functions/DarkRP/Server/getChatSound
Jump to navigation
Jump to search
Function | |
Function name | DarkRP.getChatSound(string text) |
Description: | |
Get a chat sound (play a noise when someone says something) associated with the given phrase. | |
Returns: | table soundPaths |
Part of Library: | DarkRP |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/getChatSound]DarkRP.getChatSound[/url][/b] |
Function parameters[edit]
- text (string)
The text that triggers the chat sound.
Function return values[edit]
- soundPaths (table)
A table of string sound paths associated with the given text.