From 90dd8db68cd1977794cae4f89636d78dd697c23d Mon Sep 17 00:00:00 2001 From: c0rp3n Date: Thu, 26 Mar 2020 12:42:43 +0000 Subject: [PATCH] Fix compile when using Ex functions --- addons/sourcemod/scripting/include/colorlib.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/sourcemod/scripting/include/colorlib.inc b/addons/sourcemod/scripting/include/colorlib.inc index 9a0eae4..d2dae29 100644 --- a/addons/sourcemod/scripting/include/colorlib.inc +++ b/addons/sourcemod/scripting/include/colorlib.inc @@ -62,7 +62,7 @@ stock void CPrintToChatEx(int client, int author, const char[] message, any ...) int buffer_index = CPreFormat(buffer); int buffer_size = sizeof(buffer) - buffer_index; VFormat(buffer[buffer_index], buffer_size, message, 4); - CFormat(buffer[buffer_index], buffer_size, author); + CFormat(buffer[buffer_index], buffer_size); _CL_SendChatMessage(client, author, buffer); } @@ -116,7 +116,7 @@ stock void CPrintToChatAllEx(int author, const char[] message, any ...) SetGlobalTransTarget(i); VFormat(buffer[buffer_index], buffer_size, message, 3); - CFormat(buffer[buffer_index], buffer_size, author); + CFormat(buffer[buffer_index], buffer_size); _CL_SendChatMessage(i, author, buffer); } @@ -183,7 +183,7 @@ stock void CPrintToChatTeamEx(int team, int author, const char[] message, any .. SetGlobalTransTarget(i); VFormat(buffer[buffer_index], buffer_size, message, 4); - CFormat(buffer[buffer_index], buffer_size, author); + CFormat(buffer[buffer_index], buffer_size); _CL_SendChatMessage(i, author, buffer); }