SharpMod.Server.ExecuteEnqueuedCommands C# (CSharp) Method

ExecuteEnqueuedCommands() public static method

Executes all enqueued commands.
public static ExecuteEnqueuedCommands ( ) : void
return void
        public static void ExecuteEnqueuedCommands()
        {
            MetaModEngine.engineFunctions.ServerExecute();
        }

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// Issue the server command to kick this player.
 /// </summary>
 /// <param name="message">
 /// A reason for kicking <see cref="System.String"/>
 /// </param>
 public void Kick(string message)
 {
     Server.EnqueueCommand("kick {0} {1}", Name, message);
     Server.ExecuteEnqueuedCommands();
 }
All Usage Examples Of SharpMod.Server::ExecuteEnqueuedCommands