Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to find a TopMenu Item #1944

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Ilusion9
Copy link

@Ilusion9 Ilusion9 commented Mar 4, 2023

This can be used to change the logic of TopMenu items (find item -> remove -> create again) registered by base plugins (basecommands for example). I will use this to change the logic for sm_who (instead of flags, I will display their groups) so I don't have to modify basecommands whenever its updated.

@KyleSanderson
Copy link
Member

It looks like you may have forgotten to include the header change

@peace-maker peace-maker reopened this Sep 27, 2023
@peace-maker
Copy link
Member

The function needs to be added to the public ITopMenu interface too.
https://github.com/alliedmodders/sourcemod/blob/master/public/extensions/ITopMenus.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants