Skip to content
View in the app

A better way to browse. Learn more.

Learn more

snowball-rally/addons/amxmodx/scripting/include/olds_rally.inc

olds_rally.inc
25 lines · 0.8 KB · Pawn include
Raw
/*
 * Snowball Rally (olds_rally) API, for a Snow Wars core or a bridge plugin.
 * Copyright (C) 2026 daemon (olds.ro)
 * SPDX-License-Identifier: GPL-3.0-or-later
 */
#if defined _olds_rally_included
    #endinput
#endif
#define _olds_rally_included

#pragma reqlib olds_rally
#if !defined AMXMODX_NOAUTOLOAD
    #pragma loadlib olds_rally
#endif

/**
 * A snowball confirmed a hit. Report every contact; repeated contacts of the
 * same snowball within a second count once, and hits on teammates are ignored.
 *
 * @param thrower   player who threw it
 * @param victim    player it hit
 * @param snowball  the projectile's entity index, or any id unique to that throw
 * @return          1 if it extended or started the thrower's team rally, 0 otherwise
 */
native olds_rally_hit(thrower, victim, snowball);

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.