Tank
12-30-2008, 12:52 PM
If this is posted in the wrong section, apologies, please point me to where I should post it.
Goodday,
I 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.
However 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.
================================================== =======
Tank's Server Info (version 0.1 07-11-2008)
Server Info - information:
================================================== =========
Author : |B.A.M| The Tank #AoS.nl
Version: 0.1
Date : 07-11-2008
Tank's Server Info:
A menu based plugin for providing all sorts of info to the client.
Due to the fact that for some people using a MOTD way of providing
information is too slow I wrote this plugin. It's fully multi-lingual
making it a nice plugin for international servers/communities.
Although it's basicly written for my own clan/server I think with
some help it can be easily changed over to your needs. I tried to
alter the plugin as best I could to make it as general as possible.
================================================== =========
Server Info - Features:
================================================== =========
- Fully multi-lingual supported (not all translated yet)
================================================== =========
Server Info - To do:
================================================== =========
- Ask around for better information providing then just through
chat. Been thinking about making small tutorials in console print.
================================================== =========
Server Info - !!!!!!ERRORS!!!!!
================================================== =========..
No errors to report
================================================== =========
Server Info - Commands:
================================================== =========
- say /serverinfo to open the menu
- say_team /serverinfo to open the menu
================================================== =========
Server Info - Installation:
================================================== =========
- Compile the tanks_serverinfo.sma | An online compiler can be found here:
http:www.amxmodx.org/webcompiler.cgi
- Copy tanks_serverinfo.amxx into your addons\amxmodx\plugins folder
- Add tanks_serverinfo.amxx to the bottom of your addons\amxmodx\configs\plugins.ini
- Place serverinfo.txt into dod/addons/amxmodx/data/lang/
- Change the map or restart your server to start using the plugin!
================================================== =========
Server Info - Notes & Credits:
================================================== =========
- dodplugins.net for always having the information ready when needed, much appriciated.
- h0 noMan for helping me out a lot with this plugin
- Helping me with menu's
- ZOR for helping me understand what I was doing
- Also helped me on the multi lingual part of the plugin
- Synthetic for always being able to answer my questions when having a few.
================================================== =========
Goodday,
I 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.
However 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.
================================================== =======
Tank's Server Info (version 0.1 07-11-2008)
Server Info - information:
================================================== =========
Author : |B.A.M| The Tank #AoS.nl
Version: 0.1
Date : 07-11-2008
Tank's Server Info:
A menu based plugin for providing all sorts of info to the client.
Due to the fact that for some people using a MOTD way of providing
information is too slow I wrote this plugin. It's fully multi-lingual
making it a nice plugin for international servers/communities.
Although it's basicly written for my own clan/server I think with
some help it can be easily changed over to your needs. I tried to
alter the plugin as best I could to make it as general as possible.
================================================== =========
Server Info - Features:
================================================== =========
- Fully multi-lingual supported (not all translated yet)
================================================== =========
Server Info - To do:
================================================== =========
- Ask around for better information providing then just through
chat. Been thinking about making small tutorials in console print.
================================================== =========
Server Info - !!!!!!ERRORS!!!!!
================================================== =========..
No errors to report
================================================== =========
Server Info - Commands:
================================================== =========
- say /serverinfo to open the menu
- say_team /serverinfo to open the menu
================================================== =========
Server Info - Installation:
================================================== =========
- Compile the tanks_serverinfo.sma | An online compiler can be found here:
http:www.amxmodx.org/webcompiler.cgi
- Copy tanks_serverinfo.amxx into your addons\amxmodx\plugins folder
- Add tanks_serverinfo.amxx to the bottom of your addons\amxmodx\configs\plugins.ini
- Place serverinfo.txt into dod/addons/amxmodx/data/lang/
- Change the map or restart your server to start using the plugin!
================================================== =========
Server Info - Notes & Credits:
================================================== =========
- dodplugins.net for always having the information ready when needed, much appriciated.
- h0 noMan for helping me out a lot with this plugin
- Helping me with menu's
- ZOR for helping me understand what I was doing
- Also helped me on the multi lingual part of the plugin
- Synthetic for always being able to answer my questions when having a few.
================================================== =========