Skip to content
View in the app

A better way to browse. Learn more.

Learn more

captain-knife-duel/addons/amxmodx/scripting/include/olds_captain_duel.inc

olds_captain_duel.inc
25 lines · 0.9 KB · Pawn include
Raw
/*
 * olds_captain_duel.inc - what a captain draft core offers so an add-on such as the Captain
 * Knife Duel (olds.ro) can run between the choice of the captains and the first pick.
 * The core (or a bridge plugin in front of one) registers the library "olds_captain".
 * Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
 */
#if defined _olds_captain_duel_included
    #endinput
#endif
#define _olds_captain_duel_included

/**
 * The two captains are known and the draft is about to begin. Called with ET_STOP: an
 * add-on that returns PLUGIN_HANDLED holds the draft until it calls olds_cap_release_draft().
 */
forward olds_cap_captains_ready(captainA, captainB);

/* The given captain takes the first draft turn. */
native olds_cap_set_first_pick(captain);

/* The given captain's team plays this side: 1 = terrorists, 2 = counter-terrorists. */
native olds_cap_set_side(captain, team);

/* Lets a held draft begin. */
native olds_cap_release_draft();

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.