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