I wrote a small plugin to check client rates and change them.
It work fine for rate, cl_updaterate vars, but i have a problem with cl_cmdrate.
1. client_infochanged(id) event doesn't run when i'm changing cl_cmdrate.
2. get_user_info(id, "cl_cmdrate", var, len) function doesn't work for cl_cmdrate. Function return 0.
Code:
new uRate[16];
new uUpdateRate[16];
new uCmdRate[16];
get_user_info(id, "rate", uRate, 15); // work
get_user_info(id, "cl_updaterate", uUpdateRate, 15); // work
get_user_info(id, "cl_cmdrate", uCmdRate, 15); // not working
PS. sorry for my bad english