amxx.cfg is executed during plugin_cfg, so checking it before then will alter the results. Make sure that the cvar value has actually changed, execute "amx_cvar sample_cvar" and see what it says the value is
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).