Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Alexit

Administrator
  • Joined

  • Last visited

Everything posted by Alexit

  1. Alexit posted a topic in General
    The hostname updates with the time left or an animated text, so the server list shows a changing name. Dynamic Hostname 1.0.0 (olds.ro) Changes the server name (hostname) every few seconds, so the server list shows a name that moves: either the time left on the map, or a series of texts read from a file. Mode 1: olds.ro CS | 12:34 left Mode 2: olds.ro CS | Public 1.6 -> olds.ro CS | www.olds.ro -> ... Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_hostname.sma with amxxpc 1.10 and copy olds_hostname.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_hostname.txt to addons/amxmodx/data/lang/.Copy configs/olds_hostname.txt (the frames for mode 2) and configs/plugins/olds_hostname.cfg to the same folders under addons/amxmodx/configs/ (if you skip the .cfg, the plugin writes it with the defaults on its first start).Add olds_hostname.amxx to addons/amxmodx/configs/plugins.ini. Modes (olds_hn_mode) 0 Off: the plugin leaves the hostname alone. 1 The base name and the time left on the map, as mm:ss. Without a time limit (mp_timelimit 0) the base name is shown alone. 2 The lines of configs/olds_hostname.txt, one after another, in the order of the file, starting again at the first after the last. Frames file (addons/amxmodx/configs/olds_hostname.txt) One server name per line, up to 32 lines.At most 63 bytes per line (the server list shows no more); longer lines are cut, never inside a letter.Empty lines and lines starting with ; or // are skipped.Read at every map start; olds_hn_reload reads it again at once.Without frames, mode 2 shows the base name and the log says so once. Server commands olds_hn_status prints the settings, the frames and the hostname now olds_hn_reload reads configs/olds_hostname.txt again Notes The time left is worked out at every update from the current mp_timelimit, so after a map change it is the new map's time.The hostname is set only when the text changed.Before a map change the plain base name is set back, so the list shows no stale time. A hostname line in server.cfg is replaced by the plugin's name as soon as the map has started.An empty olds_hn_base means "olds.ro CS"; the log says so once per map. Settings (addons/amxmodx/configs/plugins/olds_hostname.cfg) olds_hn_base "olds.ro CS" server name (mode 1 adds the time left) olds_hn_mode 1 0 = off, 1 = time left, 2 = frames olds_hn_interval 5 seconds between updates (1 - 300) The "left" text is in data/lang/olds_hostname.txt (English); the server's language (amx_language) is used. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1570. 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_hostname.sma, test/olds_hostname_test.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-1570).
  2. Alexit posted a topic in General
    Shows each player the names of spectators currently watching them, or lists who watches whom for admins. Spectator List 1.0.0 (olds.ro) Shows every living player who is watching him: a small list in the top left corner of the screen with the names of the spectators and dead players whose camera follows him. It is refreshed every second, and at once when a spectator switches to another player or camera mode. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written for 1.10.0.5490), with the nvault module (part of every AMX Mod X install) Install Compile scripting/olds_speclist.sma and copy olds_speclist.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_speclist.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_speclist.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_speclist.amxx to addons/amxmodx/configs/plugins.ini. Commands say /speclist (also in team chat) Hides or shows your own list. The choice is saved by SteamID (by name on servers without unique SteamIDs), so it stays on the next maps. How it works A spectator watches a player when his camera follows that player (first person, chase cam, or the overview map following him). Free-look and free map cameras watch nobody.The list reads "Watching you (N):" and then the names, at most olds_speclist_max of them; the rest is shown as +N on the last line.Admins with immunity (flag a, ADMIN_IMMUNITY) are left out of the list with olds_speclist_hideadmin 1. With olds_speclist_admin 1, admins with the kick flag (c, ADMIN_KICK) still see them in their own list.The list uses HUD channel 2 at x 0.02, y 0.15.The saved choices are kept in the nVault "olds_speclist"; a choice not used for 60 days is removed at map end. Settings (addons/amxmodx/configs/plugins/olds_speclist.cfg) olds_speclist_admin 1 1 = admins (flag c) also see hidden admins olds_speclist_hideadmin 1 1 = spectators with immunity (flag a) are not listed olds_speclist_max 5 most names listed (1 - 32), then +N No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2075. 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_speclist.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-2075).
  3. Removes bullet ricochet effects on surfaces so shots do not seem to bounce and cause confusing sparks. Bullet Ricochet Blocker 1.0.0 (olds.ro) Removes the bullet ricochet effects the server sends, so shots do not seem to bounce: the sparks and gunshot puffs of a bullet, and the ricochet whine. Bullet holes (decals) and blood stay. olds_nr_sparks 1: no sparks or gunshot puffs from bullets. They are removed only while a bullet is being fired, so explosions, grenade spark showers and sparking map objects keep theirs.olds_nr_sound 1: no ricochet sound (weapons/ric*.wav).Bullet holes, blood and every other effect stay.Please note: Counter-Strike 1.6 draws most bullet impacts (the hole, its dust and sparks) on each player's own computer, from the shot itself. A server plugin cannot change those. This plugin removes what the server sends, for example the sparks and the whine of a bullet hitting a shield, and the same effects from maps or other plugins that send them with their bullets.The plugin shows no text and has no language file. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the fakemeta module (enabled by default) Install Compile scripting/olds_noricochet.sma and copy olds_noricochet.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy configs/plugins/olds_noricochet.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_noricochet.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_noricochet.cfg) olds_nr_sparks 1 1 = no sparks or gunshot puffs from bullets olds_nr_sound 1 1 = no ricochet sound (weapons/ric*.wav) Commands None. How it works The temporary-entity message (SVC_TEMPENTITY) is checked: TE_SPARKS and TE_GUNSHOT are dropped while a bullet is being fired (ReAPI hooks on the game's FireBullets3, FireBullets and FireBuckshots). The engine's sound function (FM_EmitSound) drops the weapons/ric*.wav sounds. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0136. Licence: GNU General Public License v3.0 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_noricochet.sma, test/lib0136_probe.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-0136).
  4. Turns off the kill feed for everyone, for modes where kills should be silent. Death Message Disabler 1.0.0 (olds.ro) Turns the kill feed (the "A killed B" lines at the top right of the screen) off for everyone, for modes where kills should be silent. Admins can be allowed to keep seeing it. Frags, deaths and the scoreboard keep counting as usual, and stats or rank plugins still see every kill: only the kill feed line is not shown. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_nodeath.sma with amxxpc 1.10 and copy olds_nodeath.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_nodeath.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_nodeath.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_nodeath.amxx to addons/amxmodx/configs/plugins.ini. Admin command (flag "h", ADMIN_CFG, and the server console) amx_deathmsg 1 kill feed hidden (sets olds_nodeath 1) amx_deathmsg 0 kill feed shown again (sets olds_nodeath 0) amx_deathmsg prints which one is in use The change works at once, without a map change; chat says who made it.Every change is written to the AMX Mod X log with the admin's name.Admins without the flag are refused and nothing changes.The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini.The setting is a cvar: put olds_nodeath 0 or 1 in a map config to have it only on some maps. Server command olds_nodeath_status prints the settings, how many kill feed lines were hidden, shown and sent to admins, and the last kill Settings (addons/amxmodx/configs/plugins/olds_nodeath.cfg) olds_nodeath 1 1 = no kill feed lines for anyone, 0 = as usual olds_nodeath_admin 0 1 = admins (players with any admin flag) still see the kill feed while it is hidden for the others Notes Only the game's kill feed message (DeathMsg) is blocked. Kill feed lines that other plugins send themselves are not touched.Run it before other plugins that change the kill feed (put it higher in plugins.ini) if you use both. Texts are in data/lang/olds_nodeath.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1552. 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_nodeath.sma, test/olds_nodeath_test.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-1552).
  5. Players move to spectators with a quick chat command and return to their former team, without losing their score on return. Fast Spectator Transfer 1.0.0 (olds.ro) Two chat commands for a quick break: /spec moves you to the spectators at once, also while you are alive, and /back puts you back in the team you left, unless that team is full or your return would unbalance the teams. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written for 1.10.0.5490) Install Compile scripting/olds_fastspec.sma and copy olds_fastspec.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_fastspec.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_fastspec.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_fastspec.amxx to addons/amxmodx/configs/plugins.ini. Commands say /spec (also in team chat) Go to the spectators; your team is remembered. say /back (also in team chat) Return to the team you left with /spec. Without an earlier /spec it only prints a hint. How it works /spec moves the player with ReAPI's rg_join_team, the same way the game makes a player a spectator. A living player dies quietly (no kill feed line) and counts as dead for the round; a carried C4 is dropped./back puts the player back in his former team; he plays again from his next spawn (at once if the round still lets new players spawn)./back is refused while that team has no free spawn point (the game's own "team full" rule), and when the team would then have more than olds_fspec_maxdiff players over the other team. The player is told why.Both commands share a cooldown of olds_fspec_cd seconds, and they do not work during freeze time unless olds_fspec_freeze is 1.With the game's allow_spectators 0, /spec is refused. Settings (addons/amxmodx/configs/plugins/olds_fastspec.cfg) olds_fspec_cd 5 seconds between two uses of /spec or /back (0 - 60) olds_fspec_keep 1 1 = going to the spectators costs nothing on the scoreboard; 0 = a living player gets one death, as when the game's team menu moves him olds_fspec_maxdiff 2 most players the returning player's team may have over the other team after /back (0 = no check) olds_fspec_freeze 0 1 = the commands also work during freeze time No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2063. 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_fastspec.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-2063).
  6. Switches the map between day and night light levels by admin command or a vote at map start, with a fixed or per-round schedule. Day And Night Lighting 1.0.0 (olds.ro) Switches the light of the whole map between day and night: by an admin command, by a players' vote at map start, or every round in turn. Requirements AMX Mod X 1.10 or newer with the fakemeta module (enabled by default)ReAPI (ReGameDLL_CS) for the round restart hookWritten for AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_daynight.sma with amxxpc 1.10 (with the ReAPI include files) and copy olds_daynight.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_daynight.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_daynight.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_daynight.amxx to addons/amxmodx/configs/plugins.ini. Admin command (flag "f", ADMIN_MAP, and the server console) amx_daynight day the day light (olds_dn_day) amx_daynight night the night light (olds_dn_night) amx_daynight toggle night if it is day, day if it is night The light changes for everyone at once; chat says who changed it.An admin's choice also ends a running vote.Every change is written to the AMX Mod X log with the admin's name.Admins without the flag are refused and nothing changes.The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Modes (olds_dn_mode) 0 Only the admin command changes the light. 1 20 seconds after the map start every player gets a menu: Day or Night. The vote is open for 15 seconds; the side with more votes wins. A tie (or no votes) leaves the light as it is. 2 Day and night take turns, one round each. Each change is written to the AMX Mod X log, for example: Round 4: night (light style "c"). Server command olds_dn_status prints the mode, the light in use, the vote count and how often the style was sent to joining players Notes Players who join later see the same light: the plugin sends them the style when they enter the game and once more a second later.A new map always starts with its own light; the plugin changes nothing until the command, the vote or a new round in mode 2.A style can have several letters ("mmnmmommommnonmmonqnmmo" flickers). A cvar value with anything other than letters a to z is not used: the default (m for day, c for night) is used instead and the log says so. Settings (addons/amxmodx/configs/plugins/olds_daynight.cfg) olds_dn_mode 0 0 = command only, 1 = vote at map start, 2 = day and night every other round olds_dn_day "m" light style for day (m = normal) olds_dn_night "c" light style for night (a = darkest, z = brightest) Texts are in data/lang/olds_daynight.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1540. 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_daynight.sma, test/olds_daynight_test.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-1540).
  7. Alexit posted a topic in General
    A small HUD line shows the maximum run speed allowed by the weapon the player is holding, so players can compare weapon mobility. Weapon Speed HUD 1.0.0 (olds.ro) A small line in the bottom left corner of the screen shows the highest running speed the game allows you right now: 250 with the knife, 210 with the AWP, 150 with the AWP scoped, 1 during freeze time, and so on. It is the speed the game really uses for you, read again at every update, so it is right for every weapon (also when another plugin changes the speed). Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written for 1.10.0.5490), with the fun module (part of every AMX Mod X install) Install Compile scripting/olds_wspeed.sma and copy olds_wspeed.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_wspeed.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_wspeed.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_wspeed.amxx to addons/amxmodx/configs/plugins.ini. Commands say /speedhud (also in team chat) Hides or shows your own speed line. The choice stays until you leave the server (also over new rounds and restarts). How it works Every olds_wspd_period seconds each living player gets the line "Max speed: <value>". Dead players and spectators do not get it, so the line disappears soon after death.The value is the player's maxspeed, which the game sets for the weapon in hand (and its scope), the VIP, and freeze time (1, as nobody may move).The line uses a free HUD channel chosen by AMX Mod X (channel -1). Settings (addons/amxmodx/configs/plugins/olds_wspeed.cfg) olds_wspd_show 1 1 = show the speed line, 0 = off for everyone olds_wspd_period 0.5 seconds between two updates of the line (0.1 - 5) Some stock values: knife 250, pistols 250, M4A1 230, AK-47 221, AWP 210 (150 scoped), M249 220, Scout 260. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2034. 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_wspeed.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-2034).
  8. Alexit posted a topic in Classic
    Tell the defuser how much time was left on a successful defuse. Defuse Margin 1.0.0 (olds.ro) After a successful defuse, the defuser sees how much time was left on the bomb as a DHUD line: Defused with 4.3 s to spare With olds_margin_all 1 the rest of the defuser's team sees it too: Alice defused the bomb with 4.3 s to spare What counts Only a defuse that really ends with the bomb defused. An attempt that is interrupted (letting go of +use, dying, the explosion, a new round) shows nothing, so after a restarted attempt only the final defuse shows a margin.If the bomb explodes in the same moment the defuse would finish, nothing is shown.The time is rounded down to a tenth of a second, so it never claims more time than there was. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10 or newerTested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814, ReHLDS 3.15.0.896 Install Compile scripting/olds_defusemargin.sma with amxxpc 1.10 and copy olds_defusemargin.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_defusemargin.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_defusemargin.cfg to addons/amxmodx/configs/plugins/.Add olds_defusemargin.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_defusemargin.cfg) olds_margin_all 0 0 = only the defuser sees the margin, 1 = the defuser's teammates see it too Commands None. No sounds, models or sprites are added. Texts are in data/lang/olds_defusemargin.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-020. Licence: 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_defusemargin.sma, test/olds_defusemargin_testhelper.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 (AMX-020).
  9. Using a wall armor charger also gives a helmet once armor is topped up. Armor Charger Helmet Grant 1.0.0 (olds.ro) Using a wall armor charger (the HEV charger, func_recharge, found on some maps) also gives a helmet once the charger has topped the armor up to 100. With olds_hc_fullonly 1 (default) the helmet comes when the charger brings the armor to 100. With 0 it comes as soon as the charger gives any armor.The helmet comes with armor the charger really gives: a player whose armor is already 100, or who uses an empty charger, gets nothing.A player who already has a helmet is left alone: no second message, the armor type stays the same.The helmet icon appears on the HUD at once, and the player gets a chat line (olds_hc_msg 1).Dead players and spectators are never processed.On a map without chargers the plugin simply does nothing. Requirements AMX Mod X 1.10.0.5490 or newer, with the hamsandwich, cstrike and fakemeta modules (enabled by default)Written for ReHLDS, ReGameDLL_CS and Metamod-r; it uses no ReAPI function. Install Compile scripting/olds_chargerhelmet.sma and copy olds_chargerhelmet.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_chargerhelmet.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_chargerhelmet.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_chargerhelmet.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_chargerhelmet.cfg) olds_hc_enable 1 1 = a wall armor charger also gives a helmet olds_hc_msg 1 1 = the player gets a chat line when the helmet is added olds_hc_fullonly 1 1 = the helmet comes only when the charger brings the armor to 100; 0 = with any armor from the charger Commands None. Chat text "[Charger] Helmet added." The text is in data/lang/olds_chargerhelmet.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0083, after the idea of "H.E.V. Charger Gives Helmet" on the AlliedModders forums. Licence: GNU General Public License v3.0 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_chargerhelmet.sma, test/lib0083_probe.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-0083).
  10. Alexit posted a topic in General
    Fixes the rare bug in which a player stays alive with zero or negative health by detecting it and forcing the death through the normal kill path. Zero HP Bug Fix 1.0.0 (olds.ro) Sometimes a player stays alive with 0 HP or less, for example when a plugin sets the health to 0 (or to less than 1, which the original game's HUD shows as 0) without killing the player. This plugin finds such players and kills them through the game's normal kill path, credited to the last player who hurt them, so the frag, the kill reward, the kill feed and the game log are all right. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written and tested on 1.10.0.5490), with the hamsandwich module (part of every AMX Mod X install) Install Compile scripting/olds_zerohp.sma and copy olds_zerohp.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_zerohp.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_zerohp.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_zerohp.amxx to addons/amxmodx/configs/plugins.ini. Commands None. How it works A player is checked right after every hit he takes, and all living players are checked every 0.5 seconds. A player who is alive for the game but has less than 1 HP (get_user_health() shows 0 or less) is killed at once.The killer is the player who caused that player's last damage since his spawn, and the kill feed shows the weapon of that hit (also when the grenade that did it is gone). Frags, money and the game log work as for any kill, and other plugins see a normal death.With no such player (no damage since the spawn, or the attacker left the server) the death counts as a death by the world, like a fall: nobody gets a frag.A hit that is lethal anyway is left to the game, so a kill is never counted twice.During freeze time nothing is done; a player found at 0 HP then is killed when the freeze time ends. Settings (addons/amxmodx/configs/plugins/olds_zerohp.cfg) olds_zerohp_fix 1 1 = kill players left alive with 0 HP or less, 0 = off olds_zerohp_log 1 1 = write one line per fix to addons/amxmodx/logs/olds_zerohp.log, 0 = no log The log line names the player, his userid and SteamID, his health, and the killer with userid, SteamID and weapon (or "no known attacker"). Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-R 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358, with bots on de_dust2: a player set to 0 HP while alive killed within half a second and credited to the player who hit him last (frag and kill feed); -5 HP with no damage since the spawn counted as a death by the world, without a frag; an exactly lethal HE hit left to the game (one kill feed line, one frag); the kill feed still naming the grenade after the grenade was gone; a death by the world when the attacker had left the server; nothing done with olds_zerohp_fix 0; a player at 0 HP during freeze time killed when the freeze time ended; one log line per fix, and none with olds_zerohp_log 0. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2045. 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_zerohp.sma, test/olds_zerohp_test.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-2045).
  11. Admins or players set gravity for themselves or for everyone, within a safe range. Custom Gravity Control 1.0.0 (olds.ro) Lets an admin change the gravity of everyone, one team or one player, and lets players switch low gravity on and off for themselves with /lowgrav. Every value is kept inside a range the server sets. Gravity is a multiplier: 1.0 = normal, 0.5 = half (players jump about twice as high and fall slower), 2.0 = double. Requirements AMX Mod X 1.10 or newer with the fun module (enabled by default)ReAPI (ReGameDLL_CS) for the respawn and round restart hooksWritten for AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_gravity.sma with amxxpc 1.10 (with the ReAPI include files) and copy olds_gravity.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_gravity.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_gravity.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_gravity.amxx to addons/amxmodx/configs/plugins.ini. Admin command (flag "m", ADMIN_LEVEL_A, and the server console) amx_gravity <target> <value> target @all, @t (Terrorists), @ct (Counter-Terrorists), a player's name or part of it, or #userid value a number such as 0.5; outside olds_grav_min - olds_grav_max it is clamped, and the admin's console says so Examples amx_gravity @all 0.5 amx_gravity @ct 0.8 amx_gravity #12 1 The admin's console says which value was set and for how many players.Every change is written to the AMX Mod X log with the admin's name.Admins without the flag are refused and nothing changes.The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Player command (say or say_team), when olds_grav_player is 1 /lowgrav low gravity (olds_grav_low) on; type it again for normal gravity. Only that player's gravity changes. Server command olds_grav_status prints every player's gravity now and the value the plugin keeps for them How long a gravity stays A player's gravity is set again after every respawn.With olds_grav_persist 1 it stays over round restarts and new rounds; with 0 every player is back to normal gravity at each round restart.Players who join start with normal gravity; a map change resets everyone.The plugin changes only each player's own gravity, never sv_gravity. Settings (addons/amxmodx/configs/plugins/olds_gravity.cfg) olds_grav_min 0.2 lowest gravity allowed olds_grav_max 2.0 highest gravity allowed olds_grav_player 1 1 = players may use /lowgrav, 0 = only admins olds_grav_low 0.5 gravity that /lowgrav gives olds_grav_persist 1 1 = keep over round restarts, 0 = back to normal Texts are in data/lang/olds_gravity.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1523. 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_gravity.sma, test/olds_gravity_test.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-1523).
  12. Alexit posted a topic in Classic
    Silences the bomb beep and optionally the blinking light for a quieter round. Bomb Mute 1.0.0 (olds.ro) The planted bomb stops beeping, and optionally its red light stops blinking, for a quieter round. It can be done for Counter-Terrorists only, so the Terrorists still hear and see their bomb. olds_bq_beep 1 (default): the bomb's countdown beep is not heard.olds_bq_blink 1: the bomb's red light does not blink (off by default).olds_bq_ct_only 1: only the Counter-Terrorists lose the beep and the light; Terrorists and spectators keep them.Only the beep (weapons/c4_beep1-5.wav) and the blinking light are touched. The plant, defuse and explosion sounds and the explosion itself stay as they are.Nothing changes on the players' computers: the server simply does not send the beep or the light. Bots are not affected.The plugin shows no text and has no language file. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the fakemeta module (enabled by default) Install Compile scripting/olds_bombmute.sma and copy olds_bombmute.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy configs/plugins/olds_bombmute.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_bombmute.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_bombmute.cfg) olds_bq_beep 1 1 = the bomb's beep is not heard olds_bq_blink 0 1 = the bomb's red light does not blink olds_bq_ct_only 0 1 = only Counter-Terrorists lose the beep and the light; Terrorists and spectators keep them Commands None. How it works The beep is blocked in the engine's sound function (FM_EmitSound, channel CHAN_VOICE, weapons/c4_beep*.wav). The light is a small glow sprite (sprites/ledglow.spr) the bomb sends every 2 seconds; the C4 model has no blinking skin, so the glow message is blocked instead. With olds_bq_ct_only 1 each Terrorist and spectator is sent their own copy of the beep and the light. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0114. Licence: GNU General Public License v3.0 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_bombmute.sma, test/lib0114_probe.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-0114).
  13. Alexit posted a topic in Kreedz
    Each bhop map gets a par: the number of jumps a clean run needs, set by an admin or worked out from the best runs. At the finish a runner sees their jump count against par, like golf, and /par shows how many players finished at or under par. Bhop Par Jumps 1.0.0 (olds.ro) An add-on for bhop timers. Each map gets a par: the number of jumps a clean run needs, set by an admin or worked out from the best runs. When a runner finishes, the chat shows their jump count against par, like golf: [Par] 40 jumps (2 under par) [Par] 42 jumps (at par) [Par] 50 jumps (8 over par) say /par shows the par of the map and how many players on the server have finished it at or under par. Requirements ReGameDLL_CS, Metamod-r and ReAPIAMX Mod X 1.10 or newer with the nvault module (it ships with AMX Mod X)A bhop timer whose core plugin calls these two public functions (with CreateMultiForward / ExecuteForward) when a player starts and finishes a run: olds_timer_start(id) olds_timer_finish(id) A timer with other forward names needs a small bridge plugin that calls these two. Without such a timer the plugin loads and counts nothing.Tested on ReGameDLL_CS 5.30.0.814, ReAPI 5.29.0.358 and AMX Mod X 1.10.0.5490 Install Compile scripting/olds_bhpar.sma with amxxpc 1.10 and copy olds_bhpar.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_bhpar.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_bhpar.cfg to addons/amxmodx/configs/plugins/.Optional: copy configs/olds_bhpar.ini to addons/amxmodx/configs/ (it only holds comments; amx_bhpar creates the file when it is missing).Add olds_bhpar.amxx to addons/amxmodx/configs/plugins.ini, after the timer's own plugin. How jumps are counted A start (olds_timer_start) sets the player's count to 0, also when a run is already going.A jump counts when the player is on the ground and has just pressed the jump key (ReAPI hook on CBasePlayer::Jump). A held jump key counts once, the same rule the game uses for its own jumps.At the finish (olds_timer_finish) the count is compared with par. A finish without a start is ignored. Par Admin par: amx_bhpar <jumps> on the map (admin flag "h", ADMIN_CFG) writes "<map> <jumps>" to addons/amxmodx/configs/olds_bhpar.ini. amx_bhpar 0 removes the map's line. The file can also be edited by hand.Automatic par: on a map without an admin par and with olds_bhpar_auto 1, the par is the rounded average of the five lowest best counts on that map, as soon as five different players have finished it. Until then the map has no par and runners only see their count.The best count of each player on each map is kept in the nvault file olds_bhpar (addons/amxmodx/data/vault/olds_bhpar.vault): by SteamID, or by name for bots and players without a unique SteamID (STEAM_ID_LAN). Settings (addons/amxmodx/configs/plugins/olds_bhpar.cfg) olds_bhpar_enable 1 1 = on, 0 = off (no counting, no results) olds_bhpar_auto 1 1 = maps without an admin par get the automatic par, 0 = admin pars only Commands say /par (also say_team) the par of this map and how many players on the server finished at or under it amx_bhpar <jumps> (admin, flag "h") sets the par of this map, 0 clears it olds_bhpar_status (server console) the par of this map and where it comes from, then each player's current run and best Files Texts are in data/lang/olds_bhpar.txt (English). Nothing is downloaded by players. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card IDEA-2CFA4C7A90BDC4E8. Licence: 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_bhpar.sma, test/olds_bhpar_test.sma Idea: alexit · 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 (IDEA-2CFA4C7A90BDC4E8).
  14. Alexit posted a topic in Classic
    Let the bomb carrier choose a volunteer to take the bomb during freeze time. Bomb Duty Queue 1.0.0 (olds.ro) During the freeze time a Terrorist who wants the bomb types /bombme. The bomb carrier types /bombduty and picks one of the volunteers from a menu; the bomb moves to that player at once and both hear a short radio cue. No more "drop the bomb!" in chat at round start. Rules Each teammate can volunteer once per round; the carrier's menu lists each volunteer once.Requests are open from the new round until the freeze time ends, plus olds_bombduty_expire seconds. Then they are cleared.When the carrier picks a name, everything is checked again: the carrier must still hold the bomb, the volunteer must still be a living Terrorist, and the game must confirm the handover. Otherwise nothing moves and the carrier is told why (for example "There is no bomb carrier any more").Only on bomb maps. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI (the handover uses rg_transfer_c4)AMX Mod X 1.10 or newerTested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814, ReHLDS 3.15.0.896 Install Compile scripting/olds_bombduty.sma with amxxpc 1.10 and copy olds_bombduty.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_bombduty.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_bombduty.cfg to addons/amxmodx/configs/plugins/.Add olds_bombduty.amxx to addons/amxmodx/configs/plugins.ini. Commands (chat or team chat) /bombme volunteer to carry the bomb this round /bombduty (the bomb carrier) choose a volunteer from a menu Settings (addons/amxmodx/configs/plugins/olds_bombduty.cfg) olds_bombduty_expire 0 seconds requests stay open after the freeze time ends (0 - 60; 0 = they end with the freeze time) The cue is the stock radio/com_getinpos.wav, so nothing is downloaded. Texts are in data/lang/olds_bombduty.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-021. Licence: 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_bombduty.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 (AMX-021).
  15. Admins show custom HUD messages to all or one player with a chosen position, colour and duration. Custom HUD Message Command 1.0.0 (olds.ro) Lets an admin put a text on the screen of everyone, one team or one player, at a chosen place, in a chosen colour, for a chosen number of seconds. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_hudmsg.sma with amxxpc 1.10 and copy olds_hudmsg.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_hudmsg.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_hudmsg.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the defaults on its first start).Add olds_hudmsg.amxx to addons/amxmodx/configs/plugins.ini. Command (admins with the ADMIN_CHAT flag "i", and the server console) amx_hudmsg <target> <x> <y> <r> <g> <b> <seconds> <text> target @all, @t (Terrorists), @ct (Counter-Terrorists), a player's name or part of it, or #userid x, y 0.0 = left / top, 1.0 = right / bottom, -1 = centred. Other values are clamped to 0.0 - 1.0. r g b colour, 0 to 255 each (higher values become 255) seconds how long the text stays: 0.5 to 60 (clamped) text the rest of the line; write \n for a new line Examples amx_hudmsg @all -1 0.3 0 255 0 8 Welcome to olds.ro amx_hudmsg @ct 0.05 0.6 255 255 255 5 Defend B!\nTwo enemies seen amx_hudmsg #12 -1 -1 255 0 0 4 Last warning The admin's console says where the message went, how many players got it and the values used, and whether a value was clamped.Every message is written to the AMX Mod X log with the admin's name.Admins without the flag are refused and nothing is shown.The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Settings (addons/amxmodx/configs/plugins/olds_hudmsg.cfg) olds_hudmsg_channel 3 HUD channel (1-4); another plugin's text on the same channel is replaced by this one olds_hudmsg_maxlen 120 longest text in bytes; a longer text is cut (never inside a letter) Texts are in data/lang/olds_hudmsg.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1525. 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_hudmsg.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-1525).
  16. Shows the time left before the bomb explodes on the HUD, with several style options. Bomb Countdown Display 1.0.0 (olds.ro) Once the bomb is planted, every player sees the seconds left before it explodes, counting down each second. Three styles: a plain number, a short text, or a number that turns red in the last 10 seconds. Each player can switch it off and on with /c4timer. olds_c4t_style 0: "45"; 1: "Bomb explodes in 45 s"; 2: "45", turning red in the last 10 seconds.The countdown starts at the plant (mp_c4timer, 45 by default) and ends when the bomb is defused, explodes or the round restarts. It is never shown in the next round.Every player sees it, dead players and spectators too, unless he switched it off with /c4timer (remembered until he leaves).Colour and position: olds_c4t_color, olds_c4t_x, olds_c4t_y (top centre by default).Each number lives 0.9 s. Director HUD texts cannot be cleared, so after a defuse the last number is gone within 0.9 s. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_c4timer.sma and copy olds_c4timer.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy data/lang/olds_c4timer.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_c4timer.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_c4timer.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_c4timer.cfg) olds_c4t_style 0 0 number, 1 text, 2 number turning red in the last 10 seconds olds_c4t_color "255 255 0" colour (red green blue, 0-255) olds_c4t_x -1.0 horizontal position (-1 = centre) olds_c4t_y 0.1 vertical position (0.0 top, 1.0 bottom) Commands say /c4timer, say_team /c4timer switch the countdown off or on for yourself Texts "Bomb explodes in 45 s" and the /c4timer chat lines are in data/lang/olds_c4timer.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0109. Licence: GNU General Public License v3.0 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_c4timer.sma, test/lib0109_probe.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-0109).
  17. Blocks burst-mode and silencer toggles on weapons so server rules about weapon modes cannot be bypassed. Burst and Silencer Switch Block 1.0.0 (olds.ro) Players cannot switch the Glock-18 or FAMAS to burst fire, or put on or take off the silencer of the USP or M4A1, when the server rules forbid it. A short text tells them why. olds_bs_burst 1 blocks the burst switch of the Glock-18 and FAMAS.olds_bs_sil 1 blocks putting the silencer of the USP and M4A1 on or off.The weapon keeps the mode it has; only the switch is blocked. A weapon picked up with a silencer on keeps it.With olds_bs_msg 1 a short text in the middle of the screen says the switch is not allowed, at most once a second however long the button is held.The USP and Glock with a tactical shield still raise and lower the shield. Other weapons are not touched: the AWP and the other scopes still zoom. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the hamsandwich module (enabled by default) Install Compile scripting/olds_modeblock.sma and copy olds_modeblock.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy data/lang/olds_modeblock.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_modeblock.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_modeblock.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_modeblock.cfg) olds_bs_burst 1 1 = the Glock-18 and FAMAS burst switch is blocked olds_bs_sil 1 1 = the USP and M4A1 silencer switch is blocked olds_bs_msg 1 1 = a short text says the switch is not allowed Commands None. Texts "Burst fire is not allowed on this server." and "The silencer cannot be put on or taken off on this server." They are in data/lang/olds_modeblock.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0140. Licence: GNU General Public License v3.0 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_modeblock.sma, test/lib0140_probe.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-0140).
  18. Alexit posted a topic in Classic
    Terrorists can buy the bomb when nobody carries it, with the price set by a cvar. Buy a Bomb 1.0.0 (olds.ro) A Terrorist can buy the bomb when nobody on the team carries it, early in the round, on a map with a bombsite. Type /buybomb in chat, or c4 in the console (like the game's buy aliases, so it can be bound to a key: bind "F5" "c4").The bomb costs olds_bb_price ($3000).It can be bought during freeze time and the first olds_bb_maxtime (60) seconds after it; 0 = any time in the round.Only a living Terrorist, only on a map with a bombsite (de_ maps), only while no player holds the bomb and no bomb is planted, and only with enough money.If the bomb lies on the ground somewhere (dropped, or stuck where nobody can reach it), buying brings that bomb to the buyer through the game's own pick-up. There is never a second bomb.The bought bomb is a normal bomb: the icon, the backpack, the radar and planting all work as usual. The game's own pick-up sound plays.A refused purchase changes nothing and says why in chat. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer, with the cstrike and hamsandwich modules (enabled by default) Install Compile scripting/olds_buybomb.sma and copy olds_buybomb.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy data/lang/olds_buybomb.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_buybomb.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_buybomb.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_buybomb.cfg) olds_bb_price 3000 price of the bomb olds_bb_maxtime 60 seconds after freeze time in which the bomb can be bought (0 = any time in the round) Commands say /buybomb, say_team /buybomb, c4 (console) buy the bomb Texts "[Bomb] You bought the bomb for $3000." and the refusal lines are in data/lang/olds_buybomb.txt and can be translated there. Log line: "Name<userid><SteamID><TERRORIST>" triggered "buy_bomb" (price "3000"). Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0142. Licence: GNU General Public License v3.0 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_buybomb.sma, test/lib0142_probe.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-0142).
  19. Runs a server command after a delay or repeats it at fixed intervals, with a list of active timers an admin can cancel. Delayed Command Scheduler 1.0.0 (olds.ro) Lets an admin run a server command later, once or several times, and see or cancel what is still waiting. Handy for announcements, a restart warning or a setting that should change in a few minutes. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_timers.sma with amxxpc 1.10 and copy olds_timers.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_timers.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_timers.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the default on its first start).Add olds_timers.amxx to addons/amxmodx/configs/plugins.ini. Commands (admins with the ADMIN_RCON flag "l", and the server console) amx_delay <seconds> <command> runs the command once, after the given seconds example: amx_delay 60 say The server restarts in one minute amx_repeat <seconds> <times> <command> runs it <times> times: the first time after <seconds>, then every <seconds> example: amx_repeat 300 5 say Visit olds.ro amx_timers lists the waiting timers: id, time left, runs left, spacing, command amx_timercancel <id> cancels a waiting timer (amx_timercancel 3 or amx_timercancel #3) Seconds: 0.1 to 86400, decimals allowed. Times: 1 to 1000.The command runs as a server console command. Put it in quotes to run several commands separated by ; with one timer: amx_delay 30 "say Round of knives; mp_freezetime 0"Every timer gets an id (#1, #2, ...). Adding and cancelling a timer is written to the AMX Mod X log with the admin's name; every run prints "[olds_timers] Timer #N runs: <command>" to the server console.Timers do not survive a map change.The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Settings (addons/amxmodx/configs/plugins/olds_timers.cfg) olds_timer_max 20 most timers that can wait at the same time (1-64); a new one beyond that is refused Texts are in data/lang/olds_timers.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1557. 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_timers.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-1557).
  20. Alexit posted a topic in Classic
    A short HUD line describes the bomb's state: carried, dropped, planted or defused. Bomb Status HUD 1.0.0 (olds.ro) A short HUD line tells where the bomb is: carried by a player, dropped near a part of the map, planted, or defused. "Bomb: carried by <name>" while a player has the bomb, also right after a round restart for the new carrier."Bomb: dropped near <place>" while it lies on the ground. The place is the nearest of the map's bombsites ("bombsite A", "bombsite B"...) and the two spawn areas ("the Terrorist spawn", "the CT spawn"). Bombsites are lettered in the order the map file lists them, which may not match the letters players use on every map."Bomb: planted" from the plant until the round ends."Bomb: defused" for 5 seconds after the defuse, then it fades out.olds_bsh_team chooses who sees the line: 0 both teams and spectators, 1 Terrorists only, 2 Counter-Terrorists only.The line sits at olds_bsh_x / olds_bsh_y (left side, below the radar by default). Maps without a bombsite show nothing. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_bombstatus.sma and copy olds_bombstatus.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy data/lang/olds_bombstatus.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_bombstatus.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_bombstatus.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_bombstatus.cfg) olds_bsh_x 0.02 horizontal position (0.0 left, 1.0 right, -1 centre) olds_bsh_y 0.2 vertical position (0.0 top, 1.0 bottom) olds_bsh_team 0 0 both teams, 1 Terrorists only, 2 CTs only Commands None. Texts The HUD lines and place names are in data/lang/olds_bombstatus.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0118. Licence: GNU General Public License v3.0 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_bombstatus.sma, test/lib0118_probe.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-0118).
  21. Shows a customised welcome message on the HUD when a player enters the server, with the player name, current map and a rules reminder. Welcome HUD Text on Join 1.0.0 (olds.ro) Shows your own welcome message in the middle of the screen when a player joins: 3 seconds after entering the server, or at the first spawn if the player is still choosing a team then, so the message never hides behind the team menu. The text can greet the player by name and show the map and the number of players. Requirements ReHLDS, ReGameDLL_CS, Metamod-R, ReAPIAMX Mod X 1.10 or newer (written and tested on 1.10.0.5490) Install Compile scripting/olds_welcome.sma and copy olds_welcome.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_welcome.txt to addons/amxmodx/data/lang/.Copy configs/olds_welcome.txt (the message) to addons/amxmodx/configs/.Copy configs/plugins/olds_welcome.cfg to addons/amxmodx/configs/plugins/ (if it is missing, the plugin writes it with the default values).Add olds_welcome.amxx to addons/amxmodx/configs/plugins.ini. The message (addons/amxmodx/configs/olds_welcome.txt) Each line of the file is one line on the screen; lines starting with ; or // are comments, and empty lines between text lines are kept. These tokens are replaced: %name% the player's name %map% the current map %players% players in the server now, the new one included %maxplayers% the server's player slots Keep the whole text under 400 characters (a HUD message cannot hold much more). The file is read at every map start. If it is missing or has no text, a short default message is shown and the server console says so. A name is always shown exactly as it is: a % or a token inside a player's name is never treated as part of the message. Settings (addons/amxmodx/configs/plugins/olds_welcome.cfg) olds_welc_time 6 seconds the message stays on the screen (1 - 30) olds_welc_color "0 160 255" text colour: red green blue, 0 - 255 each olds_welc_once 1 1 = once per map for each player (also after a reconnect with the same Steam ID), 0 = again at every spawn Commands None. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-R 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358, with bots on de_dust2: a new player welcomed 3 seconds after entering, with the right name, map and player count; no repeat at the next round with olds_welc_once 1, and a repeat at every spawn with 0; a player who joined dead in the middle of a round welcomed only at his first spawn; a player who left during the 3 seconds never welcomed and no error logged; a name with % signs and tokens in it shown unchanged (ReHLDS itself turns a % in a name into a full-width percent sign); the default text when the file is missing. No sounds, models or sprites are added. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2042. 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_welcome.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-2042).
  22. Hides kill-feed lines for chosen weapons or situations, for example knife kills or suicides, while keeping the others. Death Message Blocker 1.0.0 (olds.ro) Hides chosen lines of the kill feed (the list of kills at the top right of the screen), for example knife kills or suicides, and leaves every other line as it is. Only the line is hidden: the kill, the frag and the death count on the scoreboard as usual. Requirements AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_deathblock.sma with amxxpc 1.10 and copy olds_deathblock.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_deathblock.txt to addons/amxmodx/data/lang/.Copy configs/olds_deathblock.ini to addons/amxmodx/configs/ and edit the list (it hides knife kills and suicides at first).Copy configs/plugins/olds_deathblock.cfg to addons/amxmodx/configs/plugins/ (if you skip this, the plugin writes the same file with the default on its first start).Add olds_deathblock.amxx to addons/amxmodx/configs/plugins.ini. The list (addons/amxmodx/configs/olds_deathblock.ini) One entry per line; lines starting with ; are comments. knife, grenade, awp, ak47, ... kills with that weapon, named as the kill feed names it ("weapon_knife" works too) suicide a player killed themselves (console "kill", own grenade) team a player killed a teammate (not with mp_freeforall 1) world a death without a killing player (fall, trigger_hurt, bomb) An unknown line is skipped and the AMX Mod X log names it. Without the file nothing is hidden. Admin command (flag "h", ADMIN_CFG; also from the server console) amx_dblock_reload reads the list again, without a map change, and says how many weapons and flags it found The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini. Settings (addons/amxmodx/configs/plugins/olds_deathblock.cfg) olds_dblock_log 0 1 = write every hidden line to the AMX Mod X log, e.g. Hidden kill-feed line: "Tom" -> "Carl", weapon knife (weapon knife) 0 = do not log The log line is not written in the form of the game's own kill lines, so statistics tools that read the logs do not count a kill twice. Texts are in data/lang/olds_deathblock.txt (English). Add a section such as [ro] to translate them. No sounds, models or sprites are used. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1551. 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_deathblock.sma, test/olds_deathblock_test.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-1551).
  23. Shows each player the distance to the planted bomb on the HUD. Bomb Distance Display 1.0.0 (olds.ro) Once the bomb is planted, a HUD line shows each player how far away it is, in meters or in game units. Counter-Terrorists also get a direction: ahead, to the left or to the right. Each player can switch the line off and on with /bombdist. The line is updated every 0.5 s from the plant until the bomb is defused, explodes or the round restarts; then it is cleared for everyone at once.olds_bdist_all 0: only Counter-Terrorists see it. 1: Terrorists see the distance too (without the direction).olds_bdist_units 1 shows meters, 0 game units. One meter is 39.37 game units (one unit is one inch).Direction: "(ahead)" when the bomb is within 30 degrees of where the player looks, otherwise "<< (left)" or "(right) >>", the side to turn to.A dead player or spectator watching someone (first person or chase camera) sees the line of the player he watches./bombdist is remembered until the player leaves the server. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_bombdist.sma and copy olds_bombdist.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.Copy data/lang/olds_bombdist.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_bombdist.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)Add olds_bombdist.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_bombdist.cfg) olds_bdist_units 1 1 = meters; 0 = game units olds_bdist_all 0 0 = only Counter-Terrorists see the line; 1 = Terrorists too Commands say /bombdist, say_team /bombdist switch the line off or on for yourself Texts HUD line: "Bomb: 40 m << (left)". The texts are in data/lang/olds_bombdist.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0111. Licence: GNU General Public License v3.0 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_bombdist.sma, test/lib0111_probe.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-0111).
  24. Alexit posted a topic in General
    A player who presses use just as a snowball reaches them from the front catches it instead of being hit, and the ball is added to their own supply. The window is short and there is a cooldown, so catching rewards skill without making anyone safe from every throw. Snowball Catch 1.0.0 (olds.ro) An add-on for Snow Wars game modes. A player who presses USE just as a snowball reaches them from the front catches it instead of being hit, and the ball goes into their own supply. The window is short (0.2 seconds by default) and there is a cooldown after each catch, so catching rewards skill without making anyone safe from every throw. A catch plays the stock pickup sound and shows "Caught!" in chat. Requirements ReGameDLL_CS, Metamod-r and ReAPIAMX Mod X 1.10 or newer with the hamsandwich module (it ships with AMX Mod X)A Snow Wars core (the game mode plugin) that:throws snowballs as info_target entities with one classname (olds_catch_class, "snowball" by default),hits players in the snowball's own touch function (for example ReAPI SetTouch or a Ham_Touch hook), andprovides this native, which adds snowballs to a player's supply: native olds_snow_give(id, amount); A core with a different give native needs a one-line wrapper registered in the core's plugin_natives() under this name. Without such a core the plugin still loads, logs one line and changes nothing.Tested on ReGameDLL_CS 5.30.0.814, ReAPI 5.29.0.358 and AMX Mod X 1.10.0.5490 Install Compile scripting/olds_snowcatch.sma with amxxpc 1.10 and copy olds_snowcatch.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.Copy data/lang/olds_snowcatch.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_snowcatch.cfg to addons/amxmodx/configs/plugins/.Add olds_snowcatch.amxx to addons/amxmodx/configs/plugins.ini. How a catch works The press: the USE key (E), or the console command olds_catch for players who bind it to another key (bind mouse3 olds_catch).The ball must touch the player at most olds_catch_window seconds after the press, come from within olds_catch_angle degrees of the middle of the player's view, and the player's last catch must be at least olds_catch_cd seconds ago. A player never catches their own ball.A caught ball is removed before it can hit, and the player gets one snowball through olds_snow_give. Settings (addons/amxmodx/configs/plugins/olds_snowcatch.cfg) olds_catch_enable 1 1 = on, 0 = off olds_catch_class "snowball" classname of the core's snowball entities olds_catch_window 0.2 seconds a press stays good for (0.05 - 2) olds_catch_cd 2.0 seconds between two catches of a player (0 - 30) olds_catch_angle 60 degrees to each side of the view a caught ball can come from (10 - 180) Commands olds_catch (client console) counts as a USE press olds_catch_status (server console) each player's catches since they joined, and the settings in use Files The catch sound is the stock items/gunpickup2.wav, so nothing is downloaded. Texts are in data/lang/olds_snowcatch.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card IDEA-E12DDC50F6CA3427. Licence: 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_snowcatch.sma, test/olds_snowcatch_test.sma Idea: alexit · 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 (IDEA-E12DDC50F6CA3427).
  25. Alexit posted a topic in General
    Give players a quieter text digest of repeated teammate radio calls. Radio Digest 1.0.0 (olds.ro) A quieter radio for players who want it. Type /radiodigest to turn the digest on or off for yourself. While it is on, when a teammate repeats the same radio call several times in a short time, you hear the first calls as usual, the repeats are muted (voice and text), and when the group ends one chat line sums them up: Rex: Enemy spotted x4 Players who did not turn the digest on hear every radio call unchanged. How calls are grouped Calls of the same kind from the same teammate within olds_digest_window seconds (counted from the first call) form one group.Once a group reaches olds_digest_min calls, its further calls are muted for digest users, and the group ends with one line that counts every call.A group that never reaches olds_digest_min ends without a line, and nothing of it was muted.A group ends without a line if the sender changes team or leaves.Calls are counted from what teammates actually receive, so radio calls the game drops (ReGameDLL's mp_radio_timeout and mp_radio_maxinround) are not counted. Radio menus, the direct radio commands and bots all count. Requirements AMX Mod X 1.10 or newer with the cstrike module (ships with AMX Mod X)No ReAPI neededTested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814 Install Compile scripting/olds_radiodigest.sma with amxxpc 1.10 and copy olds_radiodigest.amxx to addons/amxmodx/plugins/.Copy data/lang/olds_radiodigest.txt to addons/amxmodx/data/lang/.Copy configs/plugins/olds_radiodigest.cfg to addons/amxmodx/configs/plugins/.Add olds_radiodigest.amxx to addons/amxmodx/configs/plugins.ini. Commands /radiodigest (chat or team chat) turns the digest on or off for you; it starts off for everyone Settings (addons/amxmodx/configs/plugins/olds_radiodigest.cfg) olds_digest_window 8 seconds a group lasts, from its first call (2 - 60) olds_digest_min 3 calls a group needs before repeats are muted and a digest line is sent (2 - 20) No sounds, models or sprites are added; the radio sounds are the game's own. Texts, including the names of the radio calls, are in data/lang/olds_radiodigest.txt (English). Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card AMX-027. Licence: 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_radiodigest.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 (AMX-027).

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.