C.Unregister

From GTA Network Wiki
Jump to: navigation, search

C.Unregister
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Unregisters an injected command at runtime.

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");
}

Changelog

Version Description
1.0 Release.

References