Problem with float.inc
What does this error mean ?
Code:
L 05/15/2018 - 15:59:47: String formatted incorrectly - parameter 11 (total 10)Code:
Float:effec(izStats[8])Code:
public cmdRank(id) |
Re: Problem with float.inc
Hm, maybe:
Code:
or also: Code:
|
Re: Problem with float.inc
The stack trace is wrong for whatever reason, but this is the real error:
Code:
L 05/15/2018 - 15:59:47: String formatted incorrectly - parameter 11 (total 10) |
Re: Problem with float.inc
1 Attachment(s)
Thanks guys for the replies.
@CrazY. I tried both ways, but still it shows the same error. @KliPPy I think you're right, but I can't figure out what's the missing parameter. This is from the lang file: Code:
YOUR_RANK_IS = Your rank is ^3%d ^4of ^3%d ^4with ^3%d kill(s)^4, ^3%d hit(s)^4, skill level ^3%0.0f%%^4.Only the * character before %L is printed in the game so maybe the problem lies in the "YOUR_RANK_IS". Here's the original statsx_shell: |
Re: Problem with float.inc
bump
|
Re: Problem with float.inc
Quote:
Also make sure you are not dividing by zero. |
Re: Problem with float.inc
Have you tried using the color encoding that is expected by the colorChat() function that you are using? I.e. it expects '$g', '$n', '$t'. (Just a shot in the dark on my part).
|
Re: Problem with float.inc
@Natsheh
Thanks for the link on id. How could I do that ? Like using an if() statement ? @fysiks I'm not using a colorChat() function. The original plugin is written for AMXX 1.8.2, and it had it's own colorChat() function, since I'm using AMXX 1.8.3 I completely removed that colorChat() function and replaced colorChat with client_print_color and also changed the parameters accordingly. For example, this is from the original plugin: Code:
Code:
MM_TIME_PLAY_BONUS = You are played $t%d h.$g in row and awarded $t%d$$g bonusCode:
Code:
MM_TIME_PLAY_BONUS = You have played ^3%d h.^4 in a row, and awarded ^3%d$^4 bonusCode:
-> Code:
Thanks for the replies. |
| All times are GMT -4. The time now is 04:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.