mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
clarify SayText2 buffer size comment
This commit is contained in:
parent
499ba4c4ab
commit
4e1f2db8ca
@ -1800,7 +1800,8 @@ public int SemiNative_PrintToChat(int client, int formatParam)
|
||||
}
|
||||
|
||||
// space before message needed show colors in cs:go
|
||||
// strlen(sBuffer)>252 is when CSS stops printing the messages
|
||||
// strlen(sBuffer)>252 is when the CSS server stops sending the messages
|
||||
// css user message size limit is 255. byte for client, byte for chatsound, 252 chars + 1 null terminator = 255
|
||||
FormatEx(sBuffer, (gB_Protobuf ? sizeof(sBuffer) : 253), "%s%s%s %s%s", (gB_Protobuf ? " ":""), sTime, gS_ChatStrings.sPrefix, gS_ChatStrings.sText, sInput);
|
||||
|
||||
if(client == 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user