Difference between revisions of "ICommandRegistry:SetDescription"

From Nomad DB
 
Line 1: Line 1:
Sets the description of a [[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 ==

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