rn
rnGoodday,
rn
rnI figured since everyone always shares their plugins I do the same. However, my knowledge of coding and the knowledge of coding of people posting plugins I use is a difference between water and fire.
rn
rnHowever I would like to get some feedback on my coding style. What am I doing wrong and what could be better. I also notice everything is always hardcoded for me, hardly use pcvars and therefor I would also like to learn how I could code plugins so they are more for general use, not just for me.
rn
rn
=========================================================rnTank's Server Info (version 0.1 07-11-2008)rnrnServer Info - information:rn===========================================================rn Author : |B.A.M| The Tank #AoS.nlrn Version: 0.1rn Date : 07-11-2008rn rn Tank's Server Info:rn rn A menu based plugin for providing all sorts of info to the client.rn Due to the fact that for some people using a MOTD way of providingrn information is too slow I wrote this plugin. It's fully multi-lingualrn making it a nice plugin for international servers/communities.rn rn Although it's basicly written for my own clan/server I think withrn some help it can be easily changed over to your needs. I tried torn alter the plugin as best I could to make it as general as possible.rn rn===========================================================rnServer Info - Features:rn=========================================================== rn - Fully multi-lingual supported (not all translated yet)rn rn===========================================================rnServer Info - To do:rn=========================================================== rn - Ask around for better information providing then just throughrn chat. Been thinking about making small tutorials in console print.rn rn===========================================================rnServer Info - !!!!!!ERRORS!!!!!rn===========================================================..rn No errors to reportrn rn===========================================================rnServer Info - Commands:rn===========================================================rn - say /serverinfo to open the menurn - say_team /serverinfo to open the menurn rn===========================================================rnServer Info - Installation:rn===========================================================rn - Compile the tanks_serverinfo.sma | An online compiler can be found here:rn http:[url]www.amxmodx.org/webcompiler.cgi[/url]rn - Copy tanks_serverinfo.amxx into your addonsamxmodxplugins folderrn - Add tanks_serverinfo.amxx to the bottom of your addonsamxmodxconfigsplugins.inirn - Place serverinfo.txt into dod/addons/amxmodx/data/lang/rn - Change the map or restart your server to start using the plugin!rnrn===========================================================rnServer Info - Notes & Credits:rn===========================================================rn - dodplugins.net for always having the information ready when needed, much appriciated.rn - h0 noMan for helping me out a lot with this pluginrn - Helping me with menu'srn - ZOR for helping me understand what I was doingrn - Also helped me on the multi lingual part of the pluginrn - Synthetic for always being able to answer my questions when having a few.rn===========================================================

