I get this error:
Code:
String formatted incorrectly - parameter 11 (total 10)
L 03/23/2017 - 19:33:32: [AMXX] Displaying debug trace (plugin "statsx_shell.amxx", version "1.8.3-dev+5067")
L 03/23/2017 - 19:33:32: [AMXX] Run time error 25: parameter error
L 03/23/2017 - 19:33:32: [AMXX] [0] statsx_shell.sma::cmdRank (line 1857)
My code:
Code:
public cmdRank(id)
{
new izStats[8], izBody[8];
new iRankPos, iRankMax, iRatio;
iRankPos = get_user_stats(id, izStats, izBody)
iRankMax = get_statsnum()
iRatio = izStats[STATS_KILLS] - izStats[STATS_DEATHS]
client_print_color(id, id, "%L", id, "YOUR_RANK_IS", iRankPos, iRankMax, izStats[STATS_KILLS], izStats[STATS_DEATHS], iRatio);
return PLUGIN_CONTINUE
}
LANG line:
Code:
YOUR_RANK_IS = ^3* ^1You're ranked ^3%i ^1out of ^3%i players^1. You have ^3%i kill(s)^1, ^3%i death(s) ^1and your ratio is ^3%i^1.
what's the problem here?