4 hours ago4 hr Administrator Practice mode where only headshots deal damage, so players train head-level aim. Body hits show a short hint and do no harm. Headshot-Only Practice 1.0.0 (olds.ro) Practice: while on, only headshots between players deal damage, so players train head-level aim. A body hit does no harm and the shooter sees a short "Headshots only" hint. Requirements AMX Mod X 1.10.0.5490 or newer, ReAPI Install Compile scripting/olds_hsonly.sma and copy olds_hsonly.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_hsonly.txt to addons/amxmodx/data/lang/. No downloads: the stock headshot and flesh hit sounds still play. Settings (addons/amxmodx/configs/plugins/olds_hsonly.cfg, made on first run) olds_hsp_enabled 0 the mode is on olds_hsp_knife 1 knife hits deal normal damage anywhere olds_hsp_hint 1 show "Headshots only" to the shooter on a body hit (centre of the screen, twice a second at most) olds_hsp_hegrenade 0 1 = HE grenades deal normal damage, 0 = none Admins amx_hsonly <0|1> turn it off or on at once (ADMIN_CVAR); without an argument it shows the settings and how many hits were blocked How it works RG_CBasePlayer_TakeDamage (pre), when a player hurts another player: the hit group the game stored for the victim (m_LastHitGroup, offsetdecides. HIT_HEAD keeps the damage; every other group sets it to 0 with SetHookChainArg(4, ATYPE_FLOAT, 0.0).Knife hits (with olds_hsp_knife 1) and HE grenades (with olds_hsp_hegrenade 1) keep their damage. Falls, map damage and self damage are never touched. 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_hsonly.sma, test/hs_stub.sma Idea: olds.ro workshop library · Plugin: daemon · 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-1349). Headshot-Only Practicev1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3 KBUpdated 4 hours agoSign in to downloadolds_hsonly.smaPawn (AMX Mod X) · 134 lines3 files/* * Headshot-Only Practice (olds.ro workshop card LIB-1349) * * Practice: while on, only headshots between players deal damage, so players * train head-level aim. A body hit does no harm and the shooter sees a short * "Headshots only" hint in the centre of the screen. * amx_hsonly <0|1> turns it off or on (ADMIN_CVAR); no argument shows itShow all 134 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.