Where it doesn't work?
I guess you are thinking that this:
PHP Code:
public client_command ( id )
query_client_cvar ( id, "developer", "cvar_result_func" );
is enough to detect a cvar change but it isn't.
I tested your code and it works as it should.
__________________