When someone with admin_level_g and admin_level_h talks in chat it appears god + vip but when someone with just admin_level_g it should appear just god but it still appears god + vip.
this is the respective code
Code:
new const g_szTag[][] = {
"",
"[Detinator]",
"[God + V.I.P.]",
"[God]",
"[Moderator + V.I.P.]",
"[Moderator]",
"[Admin + V.I.P.]",
"[Admin]",
"[Tester + V.I.P.]",
"[Tester]",
"[V.I.P.]"
}
Code:
new admin = 0, iFlags = get_user_flags(id)
if(iFlags & ADMIN_IMMUNITY)
admin = 1
else if(iFlags & ADMIN_LEVEL_G && ADMIN_LEVEL_H)
admin = 2
else if(iFlags & ADMIN_LEVEL_G)
admin = 3
else if(iFlags & ADMIN_LEVEL_A && ADMIN_LEVEL_H)
admin = 4
else if(iFlags & ADMIN_LEVEL_A)
admin = 5
else if(iFlags & ADMIN_VOTE && ADMIN_LEVEL_H)
admin = 6
else if(iFlags & ADMIN_VOTE)
admin = 7
else if(iFlags & ADMIN_KICK && ADMIN_LEVEL_H)
admin = 8
else if(iFlags & ADMIN_KICK)
admin = 9
else if(iFlags & ADMIN_RESERVATION && ADMIN_LEVEL_H)
admin = 10