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