Skip to content
View in the app

A better way to browse. Learn more.

Learn more

kickoff-return-lanes/addons/amxmodx/scripting/include/olds_afootball.inc

olds_afootball.inc
32 lines · 0.9 KB · Pawn include
Raw
// Kickoff Return Lanes (olds.ro) - the American Football core interface it listens to.
// Copyright (C) 2026 daemon (olds.ro). SPDX-License-Identifier: GPL-3.0-or-later
//
// The football core fires these forwards (CreateMultiForward, ET_IGNORE); Kickoff Return
// Lanes defines them as public functions. A core with other names can call them through a
// small bridge plugin.

#if defined _olds_afootball_included
    #endinput
#endif
#define _olds_afootball_included

/**
 * A kickoff: the ball is kicked to the receiving team.
 *
 * @param receiving_team    1 = Terrorists, 2 = Counter-Terrorists
 */
forward olds_af_kickoff(receiving_team);

/**
 * A player caught the kickoff and starts the return.
 *
 * @param id                the returner
 */
forward olds_af_catch(id);

/**
 * The returner was tackled (or the return play is over).
 *
 * @param id                the tackled player
 */
forward olds_af_tackle(id);

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.