Click or drag to resize

CommandsManagerCreateCommand Method

Creates a command.

Namespace:  SampSharp.GameMode.SAMP.Commands
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
protected virtual ICommand CreateCommand(
	CommandPath[] commandPaths,
	string displayName,
	bool ignoreCase,
	IPermissionChecker[] permissionCheckers,
	MethodInfo method,
	string usageMessage
)

Parameters

commandPaths
Type: SampSharp.GameMode.SAMP.CommandsCommandPath
The command paths.
displayName
Type: SystemString
The display name.
ignoreCase
Type: SystemBoolean
if set to true ignore the case the command.
permissionCheckers
Type: SampSharp.GameMode.SAMP.Commands.PermissionCheckersIPermissionChecker
The permission checkers.
method
Type: System.ReflectionMethodInfo
The method.
usageMessage
Type: SystemString
The usage message.

Return Value

Type: ICommand
The created command
See Also