addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.5 KB
No file matches.
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
1. Compile scripting/olds_stint.sma and copy olds_stint.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. 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.