10 hours ago10 hr Administrator Shows which movement and attack keys a watched player is pressing, helping spectators and trainers read inputs. Pressed Keys Display 1.0.0 (olds.ro) Spectators see which keys the player they watch is pressing, as a short line such as "W A JUMP DUCK". The line follows the spectator's target, shows "-" while no key is pressed, and disappears when the camera stops following a player or the watched player dies. Useful to check movement and to spot scripts. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written for 1.10.0.5490) Install Compile scripting/olds_keys.sma and copy olds_keys.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_keys.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_keys.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_keys.amxx to addons/amxmodx/configs/plugins.ini. Commands say /keys (also in team chat) Turns the line off or on for you. The choice stays until you leave the server. How it works Every frame the keys of each living player are read from pev_button (client_PreThink). A key tapped between two checks is still shown.Keys shown, in this order: W A S D (movement), JUMP, DUCK, WALK, USE, RELOAD, FIRE, ALT (secondary attack).Every olds_keys_rate seconds each spectator's line is checked; it is sent on HUD channel 2 only when the text or the watched player changed, and once a second to keep it on the screen. It never flickers.A spectator watches a player when his camera follows that player (first person, chase cam, or the overview map following him). In free look, or when the watched player dies, the line goes away until the camera follows a living player again.With olds_keys_self 1 living players also see their own keys. Settings (addons/amxmodx/configs/plugins/olds_keys.cfg) olds_keys_pos "0.45 0.9" HUD position "x y", 0 - 1 (-1 = centred) olds_keys_self 0 1 = living players also see their own keys olds_keys_rate 0.1 seconds between two checks (0.05 - 1) No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2067. 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_keys.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-2067). Pressed Keys Displayv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.3 KBUpdated 10 hours agoSign in to downloadolds_keys.smaPawn (AMX Mod X) · 290 lines4 files/* * Pressed Keys Display (olds.ro workshop card LIB-2067) * * A spectator sees which movement and action keys the player he watches is * pressing, as a short HUD line such as "W A JUMP DUCK". The line follows * the spectator's target, shows "-" while no key is pressed, and disappears * when the camera stops following a player or the watched player dies.Show all 290 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.