Because you are issuing amx_reloadadmins after you set the flag, resulting in the flag being removed. Just using set_user_flags is enough to change their access
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).