Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Captain Knife Duel

Plugin
Daemon6e12c46b09Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Captain Knife Duel (olds.ro workshop idea IDEA-03C1F3999BB7F7B5) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later. Before a captain draft the two captains fight a knife duel while everyone else watches; the winner chooses the first pick or the starting side. - When the core names the captains, the duel holds the draft. Captain A plays the Terrorists, captain B the Counter-Terrorists. Both are (re)spawned, stripped (rg_remove_all_items), given weapon_knife and 100 health, and stand on the map's spots from configs/olds_capduel.ini (or, for maps not listed, the first T and the first CT spawn). - Everyone else is frozen (FL_FROZEN) and moved to the spectators: only the captains can move or attack. Captains cannot buy or pick up. - A kill (RG_CBasePlayer_Killed) wins the duel. After olds_capduel_time seconds the captain with more health wins; equal health: random. A captain who leaves loses. - The winner gets a menu: "The first pick" or "The starting side" (then Terrorists / Counter-Terrorists). The loser gets the other: picking a side gives the loser the first pick. No choice in 15 seconds: the first pick. Then the draft goes on. - olds_capduel 0: no duel, the draft starts directly. The draft core: this plugin needs a core with the API in scripting/include/olds_captain_duel.inc (library "olds_captain"): forward olds_cap_captains_ready(captainA, captainB) called with ET_STOP (an add-on returning PLUGIN_HANDLED holds the draft), natives olds_cap_set_first_pick(captain), olds_cap_set_side(captain, team) and olds_cap_release_draft(). Without a core the plugin loads and stays idle. Cvars (configs/plugins/olds_capduel.cfg): olds_capduel 1, olds_capduel_time 60 (10-600). Admin: amx_capduel_status (ADMIN_RCON). Install: compile scripting/olds_capduel.sma with amxxpc 1.10 (with include/olds_captain_duel.inc), add olds_capduel.amxx to plugins.ini after the draft core, copy data/lang/olds_capduel.txt and configs/olds_capduel.ini. Needs ReAPI and fakemeta. No downloads.

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.