Functions/DarkRP/Shared/declareChatCommand

From DarkRP
Function
Function name DarkRP.declareChatCommand(table table)
Description:
Declare a chat command (describe it)
Returns: nil
Part of Library: DarkRP
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/declareChatCommand]DarkRP.declareChatCommand[/url][/b]

Function parameters[edit]

  1. table (table)
  2. The description of the chat command. Has to contain a string: command, string: description, number: delay, optional function: condition


Function return values[edit]

This function does not return any value.