From 548cfb844d86f6d3e687fadae8dd45199ae367df Mon Sep 17 00:00:00 2001 From: DoganGFL Date: Wed, 5 Dec 2018 09:51:16 +0100 Subject: [PATCH] zuff pls fix --- SpamNotification/scripting/SpamNotification.sp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SpamNotification/scripting/SpamNotification.sp b/SpamNotification/scripting/SpamNotification.sp index bf965c80..f01dfe67 100644 --- a/SpamNotification/scripting/SpamNotification.sp +++ b/SpamNotification/scripting/SpamNotification.sp @@ -36,6 +36,7 @@ public void OnPluginStart() g_cMessagePosition.AddChangeHook(ConVarChange); g_cMessageColor.AddChangeHook(ConVarChange); g_cMessageCooldown.AddChangeHook(ConVarChange); + g_cMessageText.AddChangeHook(ConVarChange); MessageSync = CreateHudSynchronizer(); @@ -68,9 +69,6 @@ public void GetConVars() ColorStringToArray(ColorValue, MessageColor); - char MessageValue[512]; - g_cMessageText.GetString(MessageValue, sizeof(MessageValue)); - if (MessageTimer != INVALID_HANDLE && CloseHandle(MessageTimer)) MessageTimer = INVALID_HANDLE;