update commands

sm_radiomute is already used by RadioMute plugin
This commit is contained in:
DoganGFL 2018-11-15 23:16:23 +01:00
parent 12c4aadf87
commit 8152f57f72

View File

@ -41,9 +41,9 @@ public void OnPluginStart()
if (SendAudio == INVALID_MESSAGE_ID) if (SendAudio == INVALID_MESSAGE_ID)
SetFailState("This game does not support the \"SendAudio\" UserMessage."); SetFailState("This game does not support the \"SendAudio\" UserMessage.");
RegConsoleCmd("sm_radiomute", Command_RadioMute); RegConsoleCmd("sm_radio", Command_RadioMute);
RegConsoleCmd("sm_muteradio", Command_RadioMute); RegConsoleCmd("sm_smradio", Command_RadioMute);
RegConsoleCmd("sm_mr", Command_RadioMute); //RegConsoleCmd("sm_mr", Command_RadioMute);
HookUserMessage(RadioText, _hkRadioText, true); HookUserMessage(RadioText, _hkRadioText, true);
HookUserMessage(SendAudio, _hkSendAudio, true); HookUserMessage(SendAudio, _hkSendAudio, true);