Unregister

From RAGE Multiplayer Wiki
Revision as of 19:35, 14 September 2021 by Shr0x (talk | contribs) (→‎Syntax)

Unregisters an injected command at runtime.


C# Syntax

Syntax

bool NAPI.Command.Unregister(string commandName);

NOTE: This function returns a bool, true if successful and false if failed.


Usage example(s)

public void InvokedFromSomewhere()
{
    NAPI.Command.Unregister("testcmd");
}