IPlayerCommandServiceInvoke Method |
Invokes a player command using the specified inputText for the specified player.
Namespace:
SampSharp.Entities.SAMP.Commands
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxbool Invoke(
IServiceProvider services,
EntityId player,
string inputText
)
Parameters
- services
- Type: SystemIServiceProvider
A service provider. - player
- Type: SampSharp.EntitiesEntityId
The player for which the command is invoked. - inputText
- Type: SystemString
The input text to be parsed.
Return Value
Type:
Booleantrue if the command was handled; otherwise
false.
See Also