Raised This Month: $ Target: $400
 0% 

New A HeadStart In Coding


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
[CFF] gr3ed
Senior Member
Join Date: Oct 2006
Location: UNKNOWN, USA
Old 05-26-2007 , 02:36   New A HeadStart In Coding
Reply With Quote #1

Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "amx_example" //Takes 1,000 from all users with z flag and gives to admin who exectues this till he turns it off
#define VERSION "1.0"
#define AUTHOR "gr3ed"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    
}
Can someone show me what I'd put and add comments to explain why I'd do that? I need some examples so I can figure this out. Gonna add a few more....help with any you can.


Code:
 #include <amxmodx>
#include <amxmisc>

#define PLUGIN "amx_shank" /exec at someone and counts as a knife kill for the admin
#define VERSION "1.0"
#define AUTHOR "gr3ed"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
}
Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "amx_fall_bury" //if user falls over 50 feet, he gets partially buried in ground for a specified time
#define VERSION "1.0"
#define AUTHOR "gr3ed"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
}
Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "amx_dance" //plays .wav file and user spins while sliding sideways, back and forth till .wav file stops
#define VERSION "1.0"
#define AUTHOR "gr3ed"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)

}
__________________
+karma me if I help.

Last edited by [CFF] gr3ed; 05-26-2007 at 02:46.
[CFF] gr3ed is offline
Send a message via MSN to [CFF] gr3ed Send a message via Yahoo to [CFF] gr3ed
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode