Functions/DarkRP/Server/getChatSound

From Official DarkRP Wiki
Jump to: navigation, 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: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/getChatSound]DarkRP.getChatSound[/url][/b]

Function parameters

  1. text (string)
  2. The text that triggers the chat sound.


Function return values

  1. soundPaths (table)
  2. A table of string sound paths associated with the given text.