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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax CommandCallableResponse 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