Difference between revisions of "ICommandRegistry:SetDescription"

From Nomad DB
(Created page with "Sets the description of a Console Command. It is part of the ICommandRegistry interface that is returned by ScriptHook.RegisterComman...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Sets the description of a [[WD2 ScriptHook: Console Command|Console Command]]. It is part of the [[ICommandRegistry]] interface that is returned by [[ScriptHook.RegisterCommand]].
+
Sets the description of a [[ScriptHook: Console Commands|Console Command]]. It is part of the [[ICommandRegistry]] interface that is returned by [[ScriptHook.RegisterCommand]].
  
 
== Syntax ==
 
== Syntax ==
Line 11: Line 11:
 
* [[CommandArgumentType]]
 
* [[CommandArgumentType]]
  
[[Category:WD2 ScriptHook Lua]]
+
[[Category:ScriptHook Lua]]

Latest revision as of 12:59, 6 October 2020

Sets the description of a Console Command. It is part of the ICommandRegistry interface that is returned by ScriptHook.RegisterCommand.

Syntax

[command]:SetDescription(text)
  • text (string) Description

Related Pages