Skip to content
View in the app

A better way to browse. Learn more.

Learn more

spectator-hp-list/README.txt

README.txt
50 lines · 2.2 KB · Text
Raw
Spectator HP List 1.0.0 (olds.ro)
=================================

Spectators and dead players see two lists on the sides of the screen: the
living Terrorists on the left and the living Counter-Terrorists on the
right, each with their health, lowest health first. The lists are refreshed
every second.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-R, ReAPI
  - AMX Mod X 1.10 or newer (written for 1.10.0.5490)

Install
  1. Compile scripting/olds_hplist.sma and copy olds_hplist.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_hplist.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_hplist.cfg to addons/amxmodx/configs/plugins/
     (if it is missing, the plugin writes it with the default values).
  4. Add olds_hplist.amxx to addons/amxmodx/configs/plugins.ini.

Commands
  say /hplist   (also in team chat) Turns the lists off or on for you. The
                choice stays until you leave the server (also over new
                rounds and restarts).

How it works
  - Every second each spectator and dead player gets the Terrorists' list
    (HUD channel 1, x 0.01) and the Counter-Terrorists' list (channel 2,
    x 0.80). With olds_hplist_dead 0 living players get them too.
  - Each list starts with the number of living players in the team, then
    one row per player: health and name. At most olds_hplist_max rows are
    shown per team.
  - Names longer than 16 characters are cut (never in the middle of a
    letter), so no row wraps.
  - With olds_hplist_sort 1 the lowest health comes first; with 0 the
    players are listed in the order they joined.

Settings (addons/amxmodx/configs/plugins/olds_hplist.cfg)
  olds_hplist_max 8    rows per team (1 - 32)
  olds_hplist_sort 1   1 = lowest health first, 0 = join order
  olds_hplist_dead 1   1 = only spectators and dead players see the lists,
                       0 = living players too

No sounds, models or sprites are added.

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2072.
  Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.