10 hours ago10 hr Administrator While spectating in first person, the HUD shows the watched player's health, armor, ammo and money. Spectator HUD Information 1.0.0 (olds.ro) A spectator (or dead player) whose camera follows a player sees that player's name, health, armour, money and ammo in a small block near the bottom of the screen. The block is refreshed every half second, at once when the watched player fires or switches weapons, and it disappears as soon as the camera stops following a player. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written for 1.10.0.5490), with the cstrike and fun modules (part of every AMX Mod X install) Install Compile scripting/olds_spechud.sma and copy olds_spechud.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.Copy data/lang/olds_spechud.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_spechud.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_spechud.amxx to addons/amxmodx/configs/plugins.ini. Commands None. How it works The watched player is the one the spectator's camera follows (first person, chase cam, or the overview map following him). In free look or on the free overview map nobody is watched and the block goes away.The block shows: the name; "Health: 100 Armor: 100 Money: $800"; and, for guns, "Ammo: 30 / 90" (rounds in the magazine / spare rounds). The knife, grenades and the C4 show no ammo.It uses HUD channel 4, centred at y 0.80.The block is updated every olds_spech_rate seconds, when the watched player fires or switches weapons (CurWeapon), and when the spectator changes camera mode or target.With olds_spech_enemy 0 a dead player gets the block only for a teammate he watches; players in the spectator team always get it. Settings (addons/amxmodx/configs/plugins/olds_spechud.cfg) olds_spech_money 1 1 = show the watched player's money, 0 = hide it olds_spech_enemy 1 1 = also for enemies a dead player watches, 0 = teammates only olds_spech_rate 0.5 seconds between two updates (0.1 - 5) No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2073. Licence: GNU GPL version 3 or later (GPL-3.0-or-later). InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/olds_spechud.sma Idea: olds.ro workshop library · Plugin: alexit · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-2073). Spectator HUD Informationv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.7 KBUpdated 10 hours agoSign in to downloadolds_spechud.smaPawn (AMX Mod X) · 227 lines4 files/* * Spectator HUD Information (olds.ro workshop card LIB-2073) * * A spectator (or dead player) whose camera follows a player sees that * player's health, armour, money and ammo in a small HUD block near the * bottom of the screen. The block is refreshed every olds_spech_rate * seconds, at once when the watched player fires or switches weapons, andShow all 227 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.