SampSharp
SampSharp
SampSharp.GameMode.SAMP.Commands
CommandsManager Class
CommandsManager Methods
CreateCommand Method
CreateHelpCommand Method
GetCommandForText Method
Process Method
Register Method
RegisterCommands Method
CommandsManager
GetCommandForText 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-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
ICommand
GetCommandForText
(
BasePlayer
player
,
string
commandText
)
Parameters
player
Type:
SampSharp.GameMode.World
BasePlayer
The player.
commandText
Type:
System
String
The command text.
Return Value
Type:
ICommand
The found command.
See Also
Reference
CommandsManager Class
SampSharp.GameMode.SAMP.Commands Namespace