Facepunch / garrysmod-requests

Feature requests for Garry's Mod
83 stars 24 forks source link

gameevent.GetListeners to get all active listeners #2377

Open wrefgtzweve opened 1 month ago

wrefgtzweve commented 1 month ago

Details

When called on client, gameevent.Listen enables the specific game event to be networked to the client. Having a way to check which ones are enabled for performance sake would be helpful with optimizing networking usage. Currently i'm using net_showevents for it but its far from great as it only shows the events when they happen and it needs sv_cheats 1.