addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt2.5 KB
No file matches.
Spectator List 1.0.0 (olds.ro)
==============================
Shows every living player who is watching him: a small list in the top left
corner of the screen with the names of the spectators and dead players whose
camera follows him. It is refreshed every second, and at once when a
spectator switches to another player or camera mode.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-R, ReAPI
- AMX Mod X 1.10 or newer (written for 1.10.0.5490), with the nvault module
(part of every AMX Mod X install)
Install
1. Compile scripting/olds_speclist.sma and copy olds_speclist.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files
(reapi.inc and the reapi_*.inc files from the ReAPI release) next to the
stock AMX Mod X includes.
2. Copy data/lang/olds_speclist.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_speclist.cfg to addons/amxmodx/configs/plugins/
(if it is missing, the plugin writes it with the default values).
4. Add olds_speclist.amxx to addons/amxmodx/configs/plugins.ini.
Commands
say /speclist (also in team chat) Hides or shows your own list. The
choice is saved by SteamID (by name on servers without
unique SteamIDs), so it stays on the next maps.
How it works
- A spectator watches a player when his camera follows that player
(first person, chase cam, or the overview map following him). Free-look
and free map cameras watch nobody.
- The list reads "Watching you (N):" and then the names, at most
olds_speclist_max of them; the rest is shown as +N on the last line.
- Admins with immunity (flag a, ADMIN_IMMUNITY) are left out of the list
with olds_speclist_hideadmin 1. With olds_speclist_admin 1, admins with
the kick flag (c, ADMIN_KICK) still see them in their own list.
- The list uses HUD channel 2 at x 0.02, y 0.15.
- The saved choices are kept in the nVault "olds_speclist"; a choice not
used for 60 days is removed at map end.
Settings (addons/amxmodx/configs/plugins/olds_speclist.cfg)
olds_speclist_admin 1 1 = admins (flag c) also see hidden admins
olds_speclist_hideadmin 1 1 = spectators with immunity (flag a) are not
listed
olds_speclist_max 5 most names listed (1 - 32), then +N
No sounds, models or sprites are added.
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2075.
Licence: GNU GPL version 3 or later (GPL-3.0-or-later).