OK, first plugin here...
Right now, the plugin can be used by everyone (not restricted from people with no-admin) and it runs only once, meaning you have to type it in while looking at someone to kill them.
This is not practical.
I want it to allow the person to run around and be able to kill people.
Here's the Source.
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Look-Kill"
#define VERSION "1.2"
#define AUTHOR "BetaX"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_killlook","handle_look",ADMIN_KICK,"Kills anyone you look at. :O")
}
public handle_look(id) {
new entid, entbody;
get_user_aiming (id,entid,entbody,99999);
user_kill (entid,0);
return PLUGIN_HANDLED;
}