Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Powerup Hand-Off

Featured Replies

  • Administrator

Remind a player about an unused powerup just before the hunt changes phase.

Powerup Hand-Off 1.0.0 (olds.ro)

Hide and Seek: a few seconds before the hunt changes phase, a player who still holds an unused powerup gets one private reminder naming it: Seekers are released in 5 s - you still have: Smoke grenade Phases: the end of the seekers' head start (the hunt begins) and the end of the round time.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer
  • Hide And Seek: Ultimate (github.com/iwonz/amxx-hns-ultimate) or a core that works the same way

Install

  • Compile scripting/olds_reminder.sma and copy olds_reminder.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_reminder.txt to addons/amxmodx/data/lang/.

Use

  say /remind    turn the reminders off or on for yourself (on by default)

Settings (addons/amxmodx/configs/plugins/olds_reminder.cfg, created on first run)

  olds_reminder_lead 5   seconds before each phase change (2-30)

How it works The HNS core has no natives or forwards, so the plugin reads what it does:

  • Powerups are the grenades the core hands out (HE, flashbang, smoke). An item is unused while it is still carried, checked at the moment of the reminder, so one spent earlier is never named.
  • The head start begins at Round_Start and lasts the core's hns_timer seconds (only when both teams have players, as the core requires).
  • The round time is the game's own, counted from Round_Start. One reminder per phase per player (DHUD line plus a chat copy). Everything is cleared at each new round and when a player slot is reused.

No downloads: a DHUD line and chat.

Install

Download 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_reminder.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 (AMX-051).

Powerup Hand-Off
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.9 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 203 lines
/*
 * Powerup Hand-Off (olds.ro workshop card AMX-051)
 *
 * Hide and Seek: a few seconds before the hunt changes phase, a player who
 * still holds an unused powerup gets one private reminder naming it:
 *     Seekers are released in 5 s - you still have: Smoke grenade
 * Phases: the end of the seekers' head start (the hunt begins) and the end of
Show all 203 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.