Skip to content

Commit

Permalink
Fix compile when using Ex functions
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rp3n committed Mar 26, 2020
1 parent f1708d8 commit 90dd8db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/include/colorlib.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 90dd8db

Please sign in to comment.