string error
I get this error:
Code:
String formatted incorrectly - parameter 11 (total 10)Code:
public cmdRank(id)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. |
Re: string error
Not defined izStats, izBody ?
|
Re: string error
There's nothing wrong with your code, just the information because the line 1857 has 5 parameters, not 11.
|
Re: string error
@Adomaz1
Dont change the string formats. should be: Code:
YOUR_RANK_IS = ^3* ^1You're ranked ^3%i ^1out of ^3%d players^1. You have ^3%d kill(s)^1, ^3%0.2f death(s) ^1and your ratio is ^3%0.2f%%^1. |
Re: string error
Yes, they're.
The problem isn't the string format, still with 4 parameters and the error says 11. |
Re: string error
Didn't see that sry.
|
Re: string error
Quote:
|
Re: string error
I'm too. Show the source code.
|
Re: string error
lang file might be forked and the plugin takes 2 lines as one
|
Re: string error
so I found out that everything works when I remove "iRatio", but that part is kinda important and I don't want to remove it :s
how should I do it? these ways don't work: Code:
public cmdRank(id)Code:
public cmdRank(id) |
| All times are GMT -4. The time now is 18:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.