diff -r 05bbbe7ca77e -r a0d587e40030 core/smn_console.cpp --- a/core/smn_console.cpp Wed Jun 20 11:12:50 2007 +0000 +++ b/core/smn_console.cpp Wed Jun 20 11:30:29 2007 +0000 @@ -464,12 +464,12 @@ if (!pPlayer) { - return pContext->ThrowNativeError("Player %d is not a valid player", params[1]); + return pContext->ThrowNativeError("Client index %d is invalid", params[1]); } if (!pPlayer->IsConnected()) { - return pContext->ThrowNativeError("Player %d is not connected", params[1]); + return pContext->ThrowNativeError("Client %d is not connected", params[1]); } /* Trying a query on a bot results in callback not be fired, so don't bother */ @@ -615,7 +615,7 @@ int index = params[1]; if ((index < 0) || (index > g_Players.GetMaxClients())) { - return pCtx->ThrowNativeError("Invalid client index %d", index); + return pCtx->ThrowNativeError("Client index %d is invalid", index); } CPlayer *pPlayer = NULL; @@ -695,12 +695,12 @@ if (!pPlayer) { - return pContext->ThrowNativeError("Player %d is not a valid player", params[1]); + return pContext->ThrowNativeError("Client index %d is invalid", params[1]); } if (!pPlayer->IsConnected()) { - return pContext->ThrowNativeError("Player %d is not connected", params[1]); + return pContext->ThrowNativeError("Client %d is not connected", params[1]); } char buffer[256]; @@ -718,12 +718,12 @@ if (!pPlayer) { - return pContext->ThrowNativeError("Player %d is not a valid player", params[1]); + return pContext->ThrowNativeError("Client index %d is invalid", params[1]); } if (!pPlayer->IsConnected()) { - return pContext->ThrowNativeError("Player %d is not connected", params[1]); + return pContext->ThrowNativeError("Client %d is not connected", params[1]); } char buffer[256];