From efe5f0d2fe988abee5feaa74bd0d62a4e8bfd736 Mon Sep 17 00:00:00 2001 From: Michael McKoy Date: Thu, 26 Jul 2007 23:52:19 +0000 Subject: [PATCH] Fully tested, ready for release --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401185 --- plugins/basechat.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/basechat.sp b/plugins/basechat.sp index cfbcbdc1..44bd9e57 100644 --- a/plugins/basechat.sp +++ b/plugins/basechat.sp @@ -33,7 +33,7 @@ public Plugin:myinfo = url = "http://www.sourcemod.net/" }; -decl String:g_ColorNames[13][10] = {"White", "Red", "Green", "Blue", "Yellow", "Purple", "Cyan", "Orange", "Pink", "Olive", "Lime", "Violet", "Lightblue"}; +new String:g_ColorNames[13][10] = {"White", "Red", "Green", "Blue", "Yellow", "Purple", "Cyan", "Orange", "Pink", "Olive", "Lime", "Violet", "Lightblue"}; new g_Colors[13][3] = {{255,255,255},{255,0,0},{0,255,0},{0,0,255},{255,255,0},{255,0,255},{0,255,255},{255,128,0},{255,0,128},{128,255,0},{0,255,128},{128,0,255},{0,128,255}}; new Handle:g_Cvar_Chatmode = INVALID_HANDLE; @@ -133,7 +133,7 @@ public Action:Command_SayChat(client, args) { decl String:arg[64]; - new len = BreakString(message, arg, sizeof(target)); + new len = BreakString(message, arg, sizeof(arg)); new target = FindTarget(client, arg, true, false); if (target == -1)