View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-06-2020 , 21:38   Re: Admin Connect Logs
Reply With Quote #4

You don't need to give credit for trivial code and you don't need to include the code in the forum post. If you want to give credit to someone about a section of code, put it as a comment in your plugin and then in your forum post, you can simply mention the names of people that helped you. Having the credit in the source code is the most important. IMO, mentioning it in the forum post in just extra. I know that you're trying to give credit because others told you to give credit but it all really depends on how trivial the code is or how much you transformed it. The code that I gave you should be considered trivial since it doesn't really do anything unique. So, you can remove both credits you have in this plugin (as of right now).

About your code: Stop using tabs everywhere!!! It's terrible for readability and it's extremely annoying. Only use tabs for indentation, tabs are never needed anywhere else in AMX Mod X plugin source code.
__________________

Last edited by fysiks; 07-06-2020 at 21:39.
fysiks is offline