Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Return Fund

Plugin
Daemon6aeff32fcfVersion 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
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, ReAPI - AMX Mod X 1.10.0.5490 or newer - jCTF 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 1. 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. 2. 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.

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.