Uhm.. my script test compiled, I guess smthing it's wrong with my variable (still don't know what).
Buuuut.. still doesn't works, now I get a runtime error in the test script.
Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say", "_formatexTest")
}
public _formatexTest(id)
{
static command[64], msg[64], msg1[32], msg2[32], msg0[192]
read_args(command, charsmax(command))
remove_quotes(command)
formatex(msg, charsmax(msg), "%s is now %s.")
formatex(msg1, charsmax(msg1), "Lul")
formatex(msg2, charsmax(msg2), "Woot")
if(equali(command, "formatex"))
{
formatex(msg0, charsmax(msg0), msg, msg1, msg2)
client_print(0, print_chat, msg0)
}
}
L 11/10/2011 - 23:21:07: String formatted incorrectly - parameter 4 (total 3)
L 11/10/2011 - 23:21:07: [AMXX] Run time error 25 (plugin "formatex_test.amxx") - debug not enabled!