mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-06 18:08:26 +00:00
shavit-chat.sp - remove duplicate '#'
This commit is contained in:
parent
828ed94857
commit
5391c32d3d
@ -1356,7 +1356,7 @@ void FormatChat(int client, char[] buffer, int size)
|
||||
|
||||
if(i == Shavit_GetBhopStyle(client))
|
||||
{
|
||||
FormatEx(sStyleBuf, 32, "%s%s %s", iStyleRank > 0 ? "#" : "", sStyleRank, gS_StyleStrings[i].sStyleName);
|
||||
FormatEx(sStyleBuf, 32, "%s %s", sStyleRank, gS_StyleStrings[i].sStyleName);
|
||||
ReplaceString(buffer, size, "{currentstylerank}", sStyleBuf);
|
||||
}
|
||||
}
|
||||
@ -1620,7 +1620,7 @@ public int Native_GetPlainChatrank(Handle handler, int numParams)
|
||||
|
||||
if(i == Shavit_GetBhopStyle(client))
|
||||
{
|
||||
FormatEx(sStyleBuf, 32, "%s%s %s", iStyleRank > 0 ? "#" : "", sStyleRank, gS_StyleStrings[i].sStyleName);
|
||||
FormatEx(sStyleBuf, 32, "%s %s", sStyleRank, gS_StyleStrings[i].sStyleName);
|
||||
ReplaceString(buf, sizeof(buf), "{currentstylerank}", sStyleBuf);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user