Aim Teleport 1.0.0 (olds.ro)
============================
For fun and test maps: a player teleports to the spot they aim at, with a
bind or a chat command. A cooldown, a map list and an access flag keep it
from being misused.
Requirements
- AMX Mod X 1.10.0.5490 or newer (fakemeta)
Install
1. Compile scripting/olds_aimtele.sma and copy olds_aimtele.amxx to
addons/amxmodx/plugins/.
2. Copy data/lang/olds_aimtele.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_aimtele.cfg, created on first run)
olds_atp_flag "t" admin flags needed (all of them); "" = everyone
(practice mode)
olds_atp_cooldown 5 seconds between teleports (0-120)
olds_atp_maxdist 3000 farthest teleport in units (64-8192)
olds_atp_maps "fy_*;aim_*" maps where it works: names or patterns with
one *, separated by ; ("" = every map)
olds_atp_roundstart 0 seconds after round start with no teleports
Players
bind <key> +aimtele (or say /tp)
How the spot is found
A line trace along your view (at most olds_atp_maxdist) finds what you aim
at; the spot is 40 units back from that surface along its normal (so on
a wall you land in front of it, on a floor you stand on it). Your hull
(crouched or standing) must fit there; a little higher or lower is tried
too. Sky, nothing in range or no room: you are told why and stay put. The
arrival shows the stock spark sprite (sprites/xspark2.spr, or the game's
explosion sprite if a server lacks it) with the stock weapons/electro4.wav.
No downloads.