Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Practice Stint

Featured Replies

  • Administrator

Let players set a ten- or twenty-minute practice interval and receive a private break reminder.

Practice Stint 1.0.0 (olds.ro)

Practice: a player sets a practice interval (10 or 20 minutes by default) and gets one private reminder to take a break when they have played that long. Only time on a team counts: spectating pauses the clock.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer

Install

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

Use

  say /stint <minutes>   start an interval (one of olds_stint_allowed)
  say /stint off         cancel it
  say /stint             minutes played and left
  olds_stint_status      every running interval (ADMIN_CFG)

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

  olds_stint_allowed "10,20"   lengths players may choose, comma-separated
                               minutes (each 1-180, up to 8); invalid entries
                               are ignored, and with none left 10 and 20 apply

Details

  • A 60-second task adds a minute to each running interval whose player is on the terrorist or counter-terrorist team at that moment; spectators' clocks hold.
  • When the interval is full: one DHUD line and one chat line, only to that player, and the interval ends.
  • Memory only: leaving or a map change cancels the interval.

No downloads: a DHUD line and a chat line.

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_stint.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-092).

Practice Stint
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 241 lines
/*
 * Practice Stint (olds.ro workshop card AMX-092)
 *
 * Practice: a player sets a practice interval (10 or 20 minutes by default)
 * and gets one private reminder to take a break when they have played that
 * long. Only time on a team counts: spectating pauses the clock.
 *
Show all 241 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.