AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Menu item to show for specific class (https://forums.alliedmods.net/showthread.php?t=328550)

Abhinash 11-15-2020 04:43

Menu item to show for specific class
 
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


All times are GMT -4. The time now is 14:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.