Determines whether this instance can be invoked by the specified player.
Namespace:
SampSharp.GameMode.SAMP.Commands
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
SyntaxCommandCallableResponse CanInvoke(
BasePlayer player,
string commandText,
out int matchedNameLength
)
Parameters
- player
- Type: SampSharp.GameMode.WorldBasePlayer
The player. - commandText
- Type: SystemString
The command text. - matchedNameLength
- Type: SystemInt32
This value is set to the length of the name of this command which the command text was matched with.
Return Value
Type:
CommandCallableResponseA value indicating whether this instance can be invoked.
See Also