/*
* 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);