diff -r 097ac66fb60f -r 77133031b0d2 plugins/include/clients.inc --- a/plugins/include/clients.inc Wed Jun 20 11:03:06 2007 +0000 +++ b/plugins/include/clients.inc Wed Jun 20 11:06:58 2007 +0000 @@ -494,3 +494,15 @@ * @error Returns 0 if invalid userid. */ native GetClientOfUserId(userid); + +/** + * Disconnects a client from the server. + * + * @param client Client index. + * @param format Optional formatting rules for disconnect reason. + * Note that a period is automatically appended to the string by the engine. + * @param ... Variable number of format parameters. + * @noreturn + * @error Invalid client index, or client not connected. + */ +native DisconnectClient(client, const String:format[]="", any:...);