From d8f1848c2127b03f8f6a6543e7a6c1d4fae2b7e1 Mon Sep 17 00:00:00 2001 From: dogan Date: Sat, 31 Oct 2020 13:44:47 +0100 Subject: [PATCH] RadioMute: lazy fix --- RadioMute/scripting/RadioMute.sp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/RadioMute/scripting/RadioMute.sp b/RadioMute/scripting/RadioMute.sp index d043bfc2..9dc850a6 100644 --- a/RadioMute/scripting/RadioMute.sp +++ b/RadioMute/scripting/RadioMute.sp @@ -42,6 +42,14 @@ public void OnPluginStart() HookUserMessage(SendAudio, _hkSendAudio, true); } +public void OnMapEnd() +{ + for (int i = 1; i <= MaxClients; i++) + { + g_bBlocked[i] = false; + } +} + public void OnClientDisconnect(int client) { g_bBlocked[client] = false;