Functions/DarkRP/Shared/declareChatCommand

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

Function parameters

  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

This function does not return any value.