Skip to content
TimmKroe edited this page Jun 15, 2018 · 3 revisions

Kick a single Client from the Channel

// ... code for connecting to the server

// Variables
uint clientId = 0; // clientid of the client you want to kick
string message = "haha I have kicked you :P"; // Kick Message

// Kick the client from channel
queryRunner.KickClient(clientId, KickReason.Channel, message);

Kick a single Client from the Server

// ... code for connecting to the server

// Variables
uint clientId = 0; // clientid of the client you want to kick
string message = "haha I have kicked you :P"; // Kick Message

// Kick the client from server
queryRunner.KickClient(clientId, KickReason.Server, message);
Clone this wiki locally