You're just retagging; you're not actually changing the value.
PHP Code:
new bool:g_bAdmin[33]
public client_authorized(id)
{
g_bAdmin[id] = !!(get_user_flags(id) & ADMIN_LEVEL_G)
}
public some_function(id)
{
client_print(0, print_chat, "%i", g_bAdmin[id])
}
Try this. This is how we'd do it in Sourcemod, so it should be the same here.
__________________