The debug usually points to several things.
Here's an example.
Code:
#include <amxmodx>
public plugin_init() {
register_plugin("Test Plugin 1", "1.0", "[ --{-@ ]");
test("%d, %d", 1);
}
test(const fmt[], any:...) {
new text[128];
vformat(text, charsmax(text), fmt, 2);
}
Code:
L 02/12/2017 - 16:49:22: String formatted incorrectly - parameter 3 (total 2)
L 02/12/2017 - 16:49:22: [AMXX] Displaying debug trace (plugin "test1.amxx")
L 02/12/2017 - 16:49:22: [AMXX] Run time error 25: parameter error
L 02/12/2017 - 16:49:22: [AMXX] [0] test1.sma::test (line 11)
L 02/12/2017 - 16:49:22: [AMXX] [1] test1.sma::plugin_init (line 6)
As you can see the error message is the same.
It points to line 11 and line 6. Line 11 is where the error occurs but the cause of the problem is at line 6 where I have not supplied enough arguments for the format.
__________________