Skip to content

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