View Single Post
pear
Member
Join Date: May 2017
Location: sea
Old 03-11-2019 , 13:18   Re: [TF2] Sheens
Reply With Quote #5

Quote:
Originally Posted by Drixevel View Post
Three things:
  • If you're gonna recreate the wheel by copying tf2attributes code into the plugin for use, at least have the plugin use the same gamedata file.
  • Your leaking handles with your menus, you need to kill the menu handles in the callbacks with MenuAction_End.
  • You can methodmap a whole lot of this and create the menus early and save them for use multiple times as well.
Thanks! I fixed the leaks and made it use the same gamedata file then. I'm not that familiar with methodmapping yet so I'll do that once I'm more experienced with it.

Last edited by pear; 03-11-2019 at 16:49.
pear is offline