Thread: amx_point
View Single Post
Plugin Info:     Modification:          Category:          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 - 3214 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