View Single Post
Pan32
Member
Join Date: Dec 2010
Location: ?
Old 07-07-2019 , 11:07   Re: [CSGO] Round End Sounds
Reply With Quote #4

This... I mean, it works, but quite literally there is no real customization that does not require a recompile, not to mention plugin knowledge.

Take a look at keyvalue config files, start using adt_arrays/adt_tries, and you'll have a much more tidy plugin.

Also, line 82, you don't need such message, not only because if the plugin has issues, it will log on its own and show as failed state, but because you're not actually checking anything, so the message is misleading. The hook on line 87 should be on OnPluginStart, those hooks don't have to be reinitialized on every map change, plus, if you (re)load the plugin mid way through a map, the hook wont be there, and nothing will happen.

Last edited by Pan32; 07-07-2019 at 17:29.
Pan32 is offline