Click or drag to resize

CommandsManagerGetCommandForText Method

Gets the command for the specified command text.

Namespace:  SampSharp.GameMode.SAMP.Commands
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public ICommand GetCommandForText(
	BasePlayer player,
	string commandText
)

Parameters

player
Type: SampSharp.GameMode.WorldBasePlayer
The player.
commandText
Type: SystemString
The command text.

Return Value

Type: ICommand
The found command.
See Also