String formatted incorrectly
Edit: Done
|
Re: String formatted incorrectly
You are not formatting your strings correctly. You have a %s in them but don't pass any value to it
|
Re: String formatted incorrectly
Done. Thx
|
Re: String formatted incorrectly
Enable debug and it will tell you exactly where the error is
|
Re: String formatted incorrectly
Whit debug enabled:
String formatted incorrectly - parameter 4 (total 3) [AMXX] Displaying debug trace (plugin "CooL_Live.amxx") AMXX] Run time error 25: parameter error [AMXX] [0] colorchat.inc::ColorChat (line 37) [AMXX] [1] 5j3vx4pm.sma.p::mesaj1 (line 64) String formatted incorrectly - parameter 4 (total 3) [AMXX] Displaying debug trace (plugin "CooL_Live.amxx") [AMXX] Run time error 25: parameter error AMXX] [0] colorchat.inc::ColorChat (line 37) [AMXX] [1] 5j3vx4pm.sma.p::mesaj2 (line 69) String formatted incorrectly - parameter 4 (total 3) [AMXX] Displaying debug trace (plugin "CooL_Live.amxx") [AMXX] Run time error 25: parameter error [AMXX] [0] colorchat.inc::ColorChat (line 37) [AMXX] [1] 5j3vx4pm.sma.p::mesaj4 (line 84) |
Re: String formatted incorrectly
Code:
You need to add an extra argument to the function, which is the string %s will be replaced by. |
Re: String formatted incorrectly
Solved
|
Re: String formatted incorrectly
change this
Code:
to this Code:
|
Re: String formatted incorrectly
Edit: Solved
|
| All times are GMT -4. The time now is 10:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.