Raised This Month: $12 Target: $400
 3% 

amx_point


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   twistedeuphoria (82)
PyRo
Member
Join Date: Mar 2005
Old 05-11-2005 , 14:18   amx_point
Reply With Quote #1

This plugin is based on the idea of Fean0r's Point Script, but it's coded from scratch and in my opinion it's better since it works with commands with parameters after the players name unlike Fean0r's.

This plugin allows you to execute any command on the player you're aiming at.

Usage (requires ADMIN_SLAY):
Code:
amx_point <command> [$name <params>] - Runs <command> with the player you're aiming at as the target
Examples:
Code:
bind "K" "amx_point amx_kick" - Kicks whoever you're aiming at when you press K
bind "K" "amx_point amx_kick $name No spawn camping" - Kicks whoever you're aiming at with the reason "No spawn camping" when you press K
bind "MOUSE3" "amx_point amx_slap $name 10" - Slaps who you're looking at with 10 damage when you click with your 3rd mouse button (usually your scroll wheel)
bind "F1" "amx_point amx_psay $name Stop camping or be kicked" - Psays the player you're aiming at with "Stop camping or be kicked" when you press F1
I hope this plugin is of use to somebody, let me know if you find any bugs and any comments, questions and suggestions are welcome

Pyro
Attached Files
File Type: sma Get Plugin or Get Source (amx_point.sma - 3204 views - 1.8 KB)
__________________
85.133.16.45:27035 - [CPP] Clan Server #1 (fun Maps)
85.133.16.48:27195 - [CPP] Clan Server #2 (Standard/Custom/Fun Maps)
PyRo is offline
knocker
Senior Member
Join Date: Mar 2004
Old 05-11-2005 , 15:15  
Reply With Quote #2

I'll try this version ... mainly because the "old" one had some problems catching people from 1st person view if they duck. Do you know if your version gets these players?
knocker is offline
Send a message via ICQ to knocker
PyRo
Member
Join Date: Mar 2005
Old 05-12-2005 , 03:30  
Reply With Quote #3

Quote:
Originally Posted by knocker
I'll try this version ... mainly because the "old" one had some problems catching people from 1st person view if they duck. Do you know if your version gets these players?
Haven't experienced any problems like that yet, but I haven't been able thoroughly test it due to my ISP screwing up my connection, I don't think there should be any problems providing you're aiming directly at them.
__________________
85.133.16.45:27035 - [CPP] Clan Server #1 (fun Maps)
85.133.16.48:27195 - [CPP] Clan Server #2 (Standard/Custom/Fun Maps)
PyRo is offline
DarkSlain
Member
Join Date: Jul 2005
Old 04-02-2006 , 09:01  
Reply With Quote #4

does this work on sprays?
so u point at the spray and u can slap them 10 times
__________________
The art of war is not to die for your country... but make the other bastard die for his!
DarkSlain is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 12-12-2006 , 17:47   Re: amx_point
Reply With Quote #5

Looks sweet, but it is awesome when you ban someone It'll show up on amxbans as well?
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
XmINiX
Senior Member
Join Date: Nov 2006
Location: Your basement
Old 12-12-2006 , 18:02   Re: amx_point
Reply With Quote #6

It Should.....Also Nice plugin.+karma for j00
__________________
+Karma me if i am helpful!
XmINiX is offline
Send a message via AIM to XmINiX Send a message via MSN to XmINiX Send a message via Yahoo to XmINiX
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 12-13-2006 , 09:43   Re: amx_point
Reply With Quote #7

Xmin, It should yes. But It doesn't. I tried it out yesterday. The ban itself get's added in banned.cfg, but not on amxbans.
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 07-27-2007 , 04:49   Re: amx_point
Reply With Quote #8

I got slay access but can i use amx_ban in amx_point if i don't have access to amx_ban?
ehha is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 07-28-2007 , 21:38   Re: amx_point
Reply With Quote #9

Quote:
Originally Posted by PyRo View Post
This plugin is based on the idea of Fean0r's Point Script, but it's coded from scratch and in my opinion it's better since it works with commands with parameters after the players name unlike Fean0r's.

This plugin allows you to execute any command on the player you're aiming at.

Usage (requires ADMIN_SLAY):
Code:
amx_point <command> [$name <params>] - Runs <command> with the player you're aiming at as the target
Examples:
Code:
bind "K" "amx_point amx_kick" - Kicks whoever you're aiming at when you press K
bind "K" "amx_point amx_kick $name No spawn camping" - Kicks whoever you're aiming at with the reason "No spawn camping" when you press K
bind "MOUSE3" "amx_point amx_slap $name 10" - Slaps who you're looking at with 10 damage when you click with your 3rd mouse button (usually your scroll wheel)
bind "F1" "amx_point amx_psay $name Stop camping or be kicked" - Psays the player you're aiming at with "Stop camping or be kicked" when you press F1
I hope this plugin is of use to somebody, let me know if you find any bugs and any comments, questions and suggestions are welcome

Pyro
with this i can do,
bind v "amx_point amx_weapon <name> 43"?
or "amx_point amx_slay $name"
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 03-21-2009 , 17:04   Re: amx_point
Reply With Quote #10

Code:
bind "MOUSE1" "amx_point amx_slay"
__________________

Last edited by Emilioneri; 03-27-2009 at 10:39.
Emilioneri is offline
Send a message via Skype™ to Emilioneri
Reply


Thread Tools
Display Modes

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:20.


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