11 hours ago11 hr Administrator Let teammates pledge adrenaline toward one reward on a genuine flag return. Return Fund 1.0.0 (olds.ro) Capture the Flag: teammates pledge adrenaline toward one reward. When a teammate genuinely returns the team's dropped flag, the whole fund is paid once to that player as adrenaline and the adrenaline shop opens for them. An automatic return, an admin return, a round restart or a team change gives the pledges back instead. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newerjCTF by Digi with the adrenaline shop (library "jctf", github.com/OsweRRR/jCTF-by-Digi): get_user_adrenaline, set_user_adrenaline, display_shop and the jctf_flag forward Install Compile scripting/olds_returnfund.sma and copy olds_returnfund.amxx to addons/amxmodx/plugins/, below jctf_base.amxx and jctf_shop.amxx in plugins.ini. The compiler needs ReAPI's include files.Copy data/lang/olds_returnfund.txt to addons/amxmodx/data/lang/. Use say /pledge <amount> add to your pledge; your total can reach olds_returnfund_max say /pledge your pledge, your team's fund and your adrenaline olds_returnfund_status both funds and every pledge (ADMIN_CFG) Settings (addons/amxmodx/configs/plugins/olds_returnfund.cfg, created on first run) olds_returnfund_max 25 most adrenaline one player may pledge (1-200) Details A pledge is taken from your adrenaline at once and held by the plugin, so it cannot be spent in the shop meanwhile. You cannot pledge more than you have; you are told your balance.Settled: the jctf_flag forward with FLAG_RETURNED for the player who returned the flag (assists are ignored), when that player is on the flag's team. The fund is emptied before anything is paid, so a repeated callback pays nothing. The core keeps at most 200 adrenaline: what does not fit goes back to the pledgers, last pledger first.Refunded: FLAG_AUTORETURN or FLAG_ADMINRETURN for the team's flag, every round restart, and your own team change (checked every second).A player who leaves loses their pledge; nobody is paid it. No downloads: the fund is shown in chat and a DHUD line. 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_returnfund.sma, test/jctf_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-076). Return Fundv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.2 KBUpdated 11 hours agoSign in to downloadolds_returnfund.smaPawn (AMX Mod X) · 357 lines3 files/* * Return Fund (olds.ro workshop card AMX-076) * * Capture the Flag: teammates pledge adrenaline toward one reward. When a * teammate genuinely returns the team's dropped flag (picks it up and sends * it home), the whole fund is paid once to that player as adrenaline and the * adrenaline shop opens for them. An automatic return, an admin return, aShow all 357 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.