Hello Guys
why is this code not working plz
Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("setinfo","setinfo")
}
public setinfo(id) {
new arg[32]
read_argv(1,arg,31)
client_print(id,print_console,"%s",arg)
return PLUGIN_CONTINUE
}
i tried register_clcmd("setinf","setinfo") for example and it worked (that was just for trying)
console:
i want to catch when the user changes his "fb" key! to check it
so i tried register_clcmd("
setinfo fb","setinfo") also and it didn't work !
anybody got an idea !
help .. thank you
__________________