#if defined _reapi_bow_included
#endinput
#endif
#define _reapi_bow_included
/*
* Called when a player get a bow
*
* @param player player ID
*
* @return PLUGIN_CONTINUE to let a player to get a bow
* PLUGIN_HANDLED or higher to prevent a player to get a bow
*/
forward bow_getting(const player);
/*
* Give bow to player
*
* @param player player ID
*
* @return item on success, 0 on error
*/
native give_bow(const player);
/*
* Remove bow from player
*
* @param player player ID
*
* @return bool
*/
native bool:remove_bow(const player);
/*
* Check if player has bow
*
* @param player player ID
*
* @return bool
*/
native bool:has_bow(const player);
/*
* Set amount of ammo for player
*
* @param player player ID
* @param value amount of ammo
*
* @return bool
*/
native bool:set_bow_ammo(const player, const value);
/*
* Get amount of ammo for player
*
* @param player player ID
*
* @return amount of ammo on success, -1 on error
*/
native get_bow_ammo(const player);