SampSharp
SampSharp
SampSharp.Entities.SAMP.Commands
PlayerCommandService Class
PlayerCommandService Methods
Invoke Method
Invoke Method (IServiceProvider, EntityId, String)
PlayerCommandService
Invoke 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#
Copy
public
bool
Invoke
(
IServiceProvider
services
,
EntityId
player
,
string
inputText
)
Parameters
services
Type:
System
IServiceProvider
A service provider.
player
Type:
SampSharp.Entities
EntityId
The player for which the command is invoked.
inputText
Type:
System
String
The input text to be parsed.
Return Value
Type:
Boolean
true
if the command was handled; otherwise
false
.
Implements
IPlayerCommandService
Invoke(IServiceProvider, EntityId, String)
See Also
Reference
PlayerCommandService Class
Invoke Overload
SampSharp.Entities.SAMP.Commands Namespace