Exp. Coder Needed !
I am posting here because I would like to learn how to code amxx plugins. This is more of a request if anything. Right now I'm learning C/C++ through various websites which I've signed up for, but none of them actually teach me what I want to know, and tend to stick around that good old, MS-DOS Hello World program. Which to me, when I want to code CS plugins, is pretty much useless.
What I'm asking here is, I need a good coder who is willing to help me out through AMXX Scripting, This includes teaching me what things mean, how they are used, why and the such. This coder/teacher will also run through the creation of a few plugins that come from my ideas, which include, Basic changes, admin commands, and advance gameplay changes. In order to do this, We will most likely need some sort of communication program, such as Ventrilo, and if needed, the use of MSN's program control capability. I am a good listener and learner, and I know this will take some time out of the instructors life, so thats why I put up some money for this. Basically, the more you help me, the more I learn and understand, the more $$ you get out of this. I'm not talking 5$-10$ either. If you believe you might be up for the challenge, Please post back as I will be checking this daily. When you post you should include the following information: 1) How long you have been coding. 2) Plugins or examples of your work. 3) Why you think you can help me. 4) How you plan on helping me. 5) Any other information you think is important. Now please do not post if your going to do any of the following: 1) Flame me 2) Post the "Look at source codes, I learned from that" stuff. 3) I can help you !!!oneone I knowz how to make a plugin say I rockz0rz when you d0 amx_ownorzme I am thrilled at the whole customization that is allowed through the use of AMXX scripting and I would love to learn it, but these dumb hello world programs are teaching me nothing. If you believe you can help me, just post your information and when I contact you we can discuss the plans/issues/money and anything else that may need to be adressed. Thanks, awpticaL` (Mike) |
Code:
Code:
These are include files, they take informaion from the include forlder and to find the syntax of that command. #include <%name%> will read from %name%.inc. For example, if you include <amxmodx> then it will read from amxmodx.inc Code:
Function is called just after server activation. Good place for configuration loading, commands and cvars registration. In Plugin_init() you will allways see register_plugin(). register_plugin("[Plugin Name]","[Version]","[Author]") Code:
This is called when the client 1st connects to the server, checkid(id) tells this to go down in to code and find checkid(id). Code:
Whenever player info is changed, this function is called. When the client changes there (fe) name, client_infochanged() is called. Once more, checkid(id) tells this to go down in to code and find checkid(id). Code:
This is the meat of the code, the new dyAuthID[32], dyUserIP[32], dyUserName[32] are made so we can wight to that, 32 for 32bits. get_user_authid(index, authid[] ,len); This returns the SteamID/WonID depending on what version of CS your running. get_user_ip(index,ip[],len, without_port = 0); Returns ip. get_user_name(index,name[],len); Returns player name. Code:
If; Performs conditional processing in small plugins. containi(const source[],const string[]); (for this plugin) It checks if dyUserName contains the string "myg0t" and does not metter if its uper or lower case. server_cmd(const command[],{Float,_}:...); Executes command on a server console. log_amx(const string[], {Float,_}:...); Logs something into the current amx logfile. Summary : If a user connects with a name contaning myg0t, or they change there name to something that contanes myg0t, ban them and log that "Player '[Name of the offender]' Has Been Permanently Banned Due To Him Being In myg0t!". |
Stickey this.
|
Not bad, I'm still looking for someone to help me with more advance things :O
|
Anyone up for it ? :?
|
Quote:
|
the best way to learn is to think of something you want to make and try to make it. Then ask when you dont know how to do something. It sounds kind of like bad advice but really that is the best way to learn. Dygear's plugin is an example of the bare minimum you need to make of a working plugin, so you know to always include <amxmodx>, and have the function plugin_init() (the equivilant of main in c++)
|
Hey awptical, I'm not as advanced as a lot of the people here, but I can teach you over netmeeting/msn or whatever you need.
I'm not the best out there, but I know the basics...once you got the basics, its just time before you learn the other things. It WILL take some time though, and you'll need to be patient. If you have AIM, IM me @ tkwiredcom...we'll talk about setting up a schedule for me to teach you these things. k? |
#amxmod on Quakenet would be your best soure if you ask me. Just ask you questions there. And look at the source of other plugins :)
You can read about the funtions here: http://www.amxmodx.org/funcwiki.php |
Scripting
Quote:
|
| All times are GMT -4. The time now is 14:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.