Functions/DarkRP/Server/setChatSound

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.setChatSound(string text, table sounds)
Description:
Set a chat sound (play a noise when someone says something)
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/setChatSound]DarkRP.setChatSound[/url][/b]

Function parameters

  1. text (string)
  2. The text that should trigger the sound.

  3. sounds (table)
  4. A table of string sound paths.


Function return values

This function does not return any value.