From Official DarkRP Wiki
Revision as of 14:16, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function name DarkRP.getChatSound(string text)
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=]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.