Kick reason for failed client script

This commit is contained in:
Vortrex
2022-06-12 09:17:02 -05:00
parent 4860528704
commit d8e2f629c3

View File

@@ -135,6 +135,7 @@ function playerClientStarted(client) {
function playerClientStopped(client) {
logToConsole(LOG_DEBUG, `[VRR.Client] ${getPlayerDisplayForConsole(client)}'s client resources have stopped (possibly error?). Kicking them from the server ...`);
getPlayerData(targetClient).customDisconnectReason = `Kicked - Client script verification failed. Possible hacks.`;
disconnectPlayer(client);
}