Raised This Month: $ Target: $400
 0% 

Kill-Look


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BetaX
Member
Join Date: Nov 2005
Old 11-12-2005 , 23:38   Kill-Look
Reply With Quote #1

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; }
BetaX is offline
 



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 23:54.


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