removeCommandHandler

From GTA Connected
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Description

The removeCommandHandler function is used to remove the handler for a command. The handler function will no longer be called when a player types the command in-game.

Parameters

Type Name Presence Default Value Description
string command required n/a The command that was typed in-game.

Returns

Success Returns

Type Description
bool Whether a handler was unbound from the command.

Failure Returns

Type Value
bool false

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

addCommandHandler
consoleCommand
removeCommandHandler


Client Related

addCommandHandler
consoleCommand
removeCommandHandler