removeCommandHandler: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 15:18, 24 August 2019

Function Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

bool removeCommandHandler(string command)

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

1) string command The command that was typed in-game.

Return

bool Whether a handler was unbound from the command.

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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png addCommandHandler
icon-iii.png icon-vc.png icon-sa.png icon-iv.png consoleCommand
icon-iii.png icon-vc.png icon-sa.png icon-iv.png hasCommandHandler
icon-iii.png icon-vc.png icon-sa.png icon-iv.png removeCommandHandler


Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png addCommandHandler
icon-iii.png icon-vc.png icon-sa.png icon-iv.png consoleCommand
icon-iii.png icon-vc.png icon-sa.png icon-iv.png hasCommandHandler
icon-iii.png icon-vc.png icon-sa.png icon-iv.png removeCommandHandler