Hey
I have this code:
PHP Code:
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("say .startwar", "hook_startwar")
}
public hook_startwar(id, level, cid)
{
new wartype[6]
read_argv(2, wartype, 5)
client_print(id, print_chat, "you chosed a %s match", wartype)
}
When I type .startwar it prints
But when I type .startwar blabla it doesn't print anything...
If I type in console
say .startwar blabla it will print:
Code:
you chosed a blabla match
Why does this happen?
__________________