So hey there.
I have been using new menus but I don't know how to make specific menu items to show to only specific class.
By that I mean only show if player has a specific class else remove the item from the menu. And I want to do it with just one menu and it's handler.
Menu -
1. Antidote
2. AK47
3. M4
4. Infection Bomb
So when I am zombie and open the menu I only want to see 1 and 4 and the rest 2 and 3 to be removed from the menu.
And all I want to do with only one menu and it's handler