ScriptHook.RegisterCommand
From Nomad DB
Revision as of 12:57, 6 October 2020 by Administrator (talk | contribs)
This function is used to register commands to the Ingame Console.
Syntax
ScriptHook.RegisterCommand(name, callback)
- name (string) Name of the command
- callback (function) Command function
- Returns: ICommandRegistry