/*
* Round Reset Petition natives and forward (olds.ro), GPL-3.0-or-later.
*/
#if defined _olds_resetpet_included
#endinput
#endif
#define _olds_resetpet_included
#pragma reqlib olds_resetpet
/**
* A KZ/surf timer plugin reports a player's run. While any player has a
* running timer an accepted petition waits.
*
* @param id player index (1..MaxClients)
* @param running true when the run starts, false when it ends or stops
* @return 1 on success, 0 on a bad player
*/
native olds_resetpet_timer(id, bool:running);
/**
* Adds a jail box for the current map (not saved to the file).
*
* @return the number of boxes now, or 0 when the list is full
*/
native olds_resetpet_add_jail(const Float:mins[3], const Float:maxs[3]);
/**
* Called once when a petition reaches the quorum and no timed run is
* active. A round manager resets the round and returns PLUGIN_HANDLED. If
* no plugin handles it and olds_resetpet_fallback is 1, the petition ends
* the round as a draw itself.
*
* @param votes players who asked
* @param needed the quorum at that moment
*/
forward olds_resetpet_request(votes, needed);