Read the if statement and think about it. The one you have will return (not create the menu) if the user is dead AND is on Counter-Terrorist team. That means that if you are ONE of the following; terrorist, spectator, unassigned or alive you will get the menu no matter what else.
You probably want || and CS_TEAM_T.
I can't help you with the other stuff on my phone.