Raised This Month: $ Target: $400
 0% 

string error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Adomaz1
Senior Member
Join Date: Feb 2014
Old 03-23-2017 , 13:36   string error
Reply With Quote #1

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?
Adomaz1 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode