diff --git a/extensions/sdktools/tenatives.cpp b/extensions/sdktools/tenatives.cpp index 4dc108d1..8ccebd54 100644 --- a/extensions/sdktools/tenatives.cpp +++ b/extensions/sdktools/tenatives.cpp @@ -462,7 +462,7 @@ static cell_t smn_TESend(IPluginContext *pContext, const cell_t *params) { return pContext->ThrowNativeError("Client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - return pContext->ThrowNativeError("Client %d is not connected", client); + return pContext->ThrowNativeError("Client %d is not in game", client); } } diff --git a/extensions/sdktools/vsound.cpp b/extensions/sdktools/vsound.cpp index 5777d466..6f1ab978 100644 --- a/extensions/sdktools/vsound.cpp +++ b/extensions/sdktools/vsound.cpp @@ -390,7 +390,7 @@ void SoundHooks::OnEmitSound(IRecipientFilter &filter, int iEntIndex, int iChann { pFunc->GetParentContext()->BlamePluginError(pFunc, "Callback-provided client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - pFunc->GetParentContext()->BlamePluginError(pFunc, "Client %d is not connected", client); + pFunc->GetParentContext()->BlamePluginError(pFunc, "Client %d is not in game", client); } else { continue; } @@ -528,7 +528,7 @@ void SoundHooks::OnEmitSound2(IRecipientFilter &filter, int iEntIndex, int iChan { pFunc->GetParentContext()->BlamePluginError(pFunc, "Client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - pFunc->GetParentContext()->BlamePluginError(pFunc, "Client %d is not connected", client); + pFunc->GetParentContext()->BlamePluginError(pFunc, "Client %d is not in game", client); } else { continue; } @@ -780,7 +780,7 @@ static cell_t EmitSound(IPluginContext *pContext, const cell_t *params) { return pContext->ThrowNativeError("Client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - return pContext->ThrowNativeError("Client %d is not connected", client); + return pContext->ThrowNativeError("Client %d is not in game", client); } } @@ -1136,7 +1136,7 @@ static cell_t EmitSoundEntry(IPluginContext *pContext, const cell_t *params) return pContext->ThrowNativeError("Client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - return pContext->ThrowNativeError("Client %d is not connected", client); + return pContext->ThrowNativeError("Client %d is not in game", client); } } @@ -1273,7 +1273,7 @@ static cell_t EmitSentence(IPluginContext *pContext, const cell_t *params) { return pContext->ThrowNativeError("Client index %d is invalid", client); } else if (!pPlayer->IsInGame()) { - return pContext->ThrowNativeError("Client %d is not connected", client); + return pContext->ThrowNativeError("Client %d is not in game", client); } }