@@ -390,7 +390,7 @@ void SoundHooks::OnEmitSound(IRecipientFilter &filter, int iEntIndex, int iChann
390390 {
391391 pFunc->GetParentContext ()->BlamePluginError (pFunc, " Callback-provided client index %d is invalid" , client);
392392 } else if (!pPlayer->IsInGame ()) {
393- pFunc->GetParentContext ()->BlamePluginError (pFunc, " Client %d is not connected " , client);
393+ pFunc->GetParentContext ()->BlamePluginError (pFunc, " Client %d is not in game " , client);
394394 } else {
395395 continue ;
396396 }
@@ -528,7 +528,7 @@ void SoundHooks::OnEmitSound2(IRecipientFilter &filter, int iEntIndex, int iChan
528528 {
529529 pFunc->GetParentContext ()->BlamePluginError (pFunc, " Client index %d is invalid" , client);
530530 } else if (!pPlayer->IsInGame ()) {
531- pFunc->GetParentContext ()->BlamePluginError (pFunc, " Client %d is not connected " , client);
531+ pFunc->GetParentContext ()->BlamePluginError (pFunc, " Client %d is not in game " , client);
532532 } else {
533533 continue ;
534534 }
@@ -780,7 +780,7 @@ static cell_t EmitSound(IPluginContext *pContext, const cell_t *params)
780780 {
781781 return pContext->ThrowNativeError (" Client index %d is invalid" , client);
782782 } else if (!pPlayer->IsInGame ()) {
783- return pContext->ThrowNativeError (" Client %d is not connected " , client);
783+ return pContext->ThrowNativeError (" Client %d is not in game " , client);
784784 }
785785 }
786786
@@ -1136,7 +1136,7 @@ static cell_t EmitSoundEntry(IPluginContext *pContext, const cell_t *params)
11361136 return pContext->ThrowNativeError (" Client index %d is invalid" , client);
11371137 }
11381138 else if (!pPlayer->IsInGame ()) {
1139- return pContext->ThrowNativeError (" Client %d is not connected " , client);
1139+ return pContext->ThrowNativeError (" Client %d is not in game " , client);
11401140 }
11411141 }
11421142
@@ -1273,7 +1273,7 @@ static cell_t EmitSentence(IPluginContext *pContext, const cell_t *params)
12731273 {
12741274 return pContext->ThrowNativeError (" Client index %d is invalid" , client);
12751275 } else if (!pPlayer->IsInGame ()) {
1276- return pContext->ThrowNativeError (" Client %d is not connected " , client);
1276+ return pContext->ThrowNativeError (" Client %d is not in game " , client);
12771277 }
12781278 }
12791279
0 commit comments