Click or drag to resize

PlayerCommandServiceInvoke Method (IServiceProvider, EntityId, String)

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
Syntax
C#
public bool 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: Boolean
true if the command was handled; otherwise false.

Implements

IPlayerCommandServiceInvoke(IServiceProvider, EntityId, String)
See Also