#if defined _reapi_kill_assist_included
#endinput
#endif
#define _reapi_kill_assist_included
#pragma reqlib reapi_kill_assist
#if !defined AMXMODX_NO_LIBRARY_REQ
#pragma loadlib reapi_kill_assist
#endif
/**
* Called before an assist is processed, rewarded, and broadcasted.
*
* @param pKiller Entity index of the killer.
* @param pVictim Entity index of the victim.
* @param pAssister Entity index of the assisting player.
*
* @return PLUGIN_CONTINUE to allow the assist.
* PLUGIN_HANDLED to block the assist completely.
*/
forward KillAssist_OnPlayerAssist_Pre(const pKiller, const pVictim, const pAssister);
/**
* Called after an assist has been processed, rewarded, and broadcasted.
*
* @param pKiller Entity index of the killer.
* @param pVictim Entity index of the victim.
* @param pAssister Entity index of the assisting player.
* @param iRewardMoney Amount of money awarded to the assister.
*
* @noreturn
*/
forward KillAssist_OnPlayerAssist_Post(const pKiller, const pVictim, const pAssister, const iRewardMoney);
/**
* Returns the total number of assists scored by a player during this session.
*
* @param pPlayer Player entity index (1 to MaxClients).
*
* @return Number of assists, or -1 on invalid player.
*/
native KillAssist_GetPlayerAssists(const pPlayer);
/**
* Sets or resets the assist count for a player.
*
* @param pPlayer Player entity index (1 to MaxClients).
* @param iAssists Assist count to set (must be >= 0).
*
* @return True on success, false on invalid player.
*/
native bool:KillAssist_SetPlayerAssists(const pPlayer, const iAssists);
/**
* Returns the configured money reward for an assist.
*
* @return Assist reward money.
*/
native KillAssist_GetRewardMoney();