Skip to content
Browse files

Fix string incorrectly formatted in CS Misc Stats plugin (#704)

Recently, I got those below errors on logs:
String formatted incorrectly - parameter 12 (total 12)
L 04/29/2019 - 23:24:40: [AMXX] Displaying debug trace (plugin "miscstats.amxx", version "1.8.3-dev+5154")
L 04/29/2019 - 23:24:40: [AMXX] Run time error 25: parameter error 
L 04/29/2019 - 23:24:40: [AMXX]    [0] miscstats.sma::checkKills (line 922)

It just looks like `"RAMPAGE!!! %s^n%L %d %L (%d hs)"` misses last format rule, which should be `"%L"` pointing to `HS` lang key.
  • Loading branch information...
AdamRichard21st authored and Arkshine committed Apr 30, 2019
1 parent 2dd3630 commit c8bd4bb169d2205cd9c83a29898d95aa07e7e7cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/cstrike/miscstats.sma
@@ -91,7 +91,7 @@ new g_MultiKillMsg[7][] =
"Multi-Kill! %s^n%L %d %L (%d %L)",
"Ultra-Kill!!! %s^n%L %d %L (%d %L)",
"%s IS ON A KILLING SPREE!!!^n%L %d %L (%d %L)",
"RAMPAGE!!! %s^n%L %d %L (%d hs)",
"RAMPAGE!!! %s^n%L %d %L (%d %L)",
"%s IS UNSTOPPABLE!!!^n%L %d %L (%d %L)",
"%s IS A MONSTER!^n%L %d %L (%d %L)",
"%s IS GODLIKE!!!!^n%L %d %L (%d %L)"

0 comments on commit c8bd4bb

Please sign in to comment.
You can’t perform that action at this time.