8 hours ago8 hr Administrator Let trapped surfers request a round reset while protecting active timed runs. Round Reset Petition 1.0.0 (olds.ro) Surfers stuck in a jail region can ask for a round reset with /stuck. When enough of them ask, the round manager is asked once to reset the round, but never while somebody has a timed run going. Requirements AMX Mod X 1.10.0.5490 or newer (fakemeta)ReGameDLL_CS 5.30.0.814 or newer with ReAPI 5.29.0.358 or newer Install Compile scripting/olds_resetpet.sma and copy olds_resetpet.amxx to addons/amxmodx/plugins/ (before the timer and round manager plugins).Copy data/lang/olds_resetpet.txt to addons/amxmodx/data/lang/.Copy configs/olds_resetpet/ to addons/amxmodx/configs/ and make one <map>.ini per surf map (surf_example.ini shows the format), or add the boxes in game with amx_resetpet_jail.The timer and the round manager include scripting/include/olds_resetpet.inc. Settings (addons/amxmodx/configs/plugins/olds_resetpet.cfg, made on first run) olds_resetpet_pct 60 percent of the living players (T and CT) that must ask from inside a jail; rounded up, so 3 of 5 players at 60 olds_resetpet_fallback 1 1 = if no round manager takes the request, end the round as a draw (rg_round_end) Players say /stuck asks for the reset; only living players inside a jail box count, each once. Everybody sees the progress ("2/3 stuck"). How it works Jail boxes come from configs/olds_resetpet/<map>.ini (up to 16), from amx_resetpet_jail or from another plugin (olds_resetpet_add_jail).Every second, and on each /stuck, the votes are counted again: a voter who left, died or left the jail is dropped, and the quorum follows the number of living players.At the quorum, if any player has a running timer (olds_resetpet_timer), the request is held until the last run ends; if the votes fall below the quorum meanwhile, it waits again.Then the olds_resetpet_request forward is called, once per round. A round manager resets the round and returns PLUGIN_HANDLED; otherwise the fallback applies. A new round clears all votes. Admin amx_resetpet_jail add <x1 y1 z1 x2 y2 z2> | clear | list (ADMIN_CFG) jail boxes of the current map; add and clear save the map's file amx_resetpet_status (ADMIN_KICK) living, trapped, votes, needed, running timer, pending and sent API (library "olds_resetpet", include/olds_resetpet.inc) native olds_resetpet_timer(id, bool:running) for a KZ/surf timer native olds_resetpet_add_jail(const Float:mins[3], const Float:maxs[3]) forward olds_resetpet_request(votes, needed) for the round manager 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/include/olds_resetpet.inc, addons/amxmodx/scripting/olds_resetpet.sma, test/rp_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 (AMX-058). Round Reset Petitionv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6.3 KBUpdated 8 hours agoSign in to downloadolds_resetpet.smaPawn (AMX Mod X) · 383 lines5 files/* * Round Reset Petition (olds.ro) * Copyright (C) 2026 daemon (olds.ro) * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option)Show all 383 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.