mirror of
https://github.com/r4sas/ExtraMirror
synced 2025-03-12 13:21:19 +00:00
Some shit
This commit is contained in:
parent
ee73dd2938
commit
a764e2255e
@ -209,9 +209,9 @@ void SVC_VoiceInit() {
|
|||||||
MSG_SaveReadCount();
|
MSG_SaveReadCount();
|
||||||
char* codec = MSG_ReadString(); int bitz = MSG_ReadByte(); bool blocked;
|
char* codec = MSG_ReadString(); int bitz = MSG_ReadByte(); bool blocked;
|
||||||
if(!stricmp(codec,"voice_miles")||!stricmp(codec,"voice_speex"))blocked=false;
|
if(!stricmp(codec,"voice_miles")||!stricmp(codec,"voice_speex"))blocked=false;
|
||||||
else blocked=true
|
else blocked=true;
|
||||||
char buffer[1024];
|
char buffer[1024];
|
||||||
snprintf(buffer, sizeof(buffer), "[Extra Mirror] [VoiceInit] %s [%s]\n", str,blocked?"Blocked":"Execute");
|
snprintf(buffer, sizeof(buffer), "[Extra Mirror] [VoiceInit] %s [%s]\n", codec,blocked?"Blocked":"Execute");
|
||||||
ConsolePrintColor(255, 255, 255, buffer);
|
ConsolePrintColor(255, 255, 255, buffer);
|
||||||
if(blocked)return;
|
if(blocked)return;
|
||||||
MSG_RestoreReadCount();
|
MSG_RestoreReadCount();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user