ScriptHook.RegisterCommand
From Nomad DB
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