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.