/** GiveNamedItem
*
* It called when a player receives a item.
* -
* @param iClient Player Index.
* @param sClassname Classname item.
* @param Item Customization item.
* @param iEnt Index Entities item.
* @param OriginIsNULL True if Origin is NULL_VECTOR.
* @param Origin Coordinates where the item was created at (You cannot compare Origin == NULL_VECTOR, use OriginIsNULL param for it).
* -
* @noreturn
*/
function void (int iClient, const char[] sClassname, const CEconItemView Item, int iEnt, bool OriginIsNULL, const float Origin[3]);
/** GiveNamedItemPre
*
* Called before the issuance of the item.
* -
* @param iClient Player Index.
* @param sClassname Classname weapons.
* @param Item Customization item.
* @param IgnoredCEconItemView If true ignores CEconItemView the item.
* @param OriginIsNULL True if Origin is NULL_VECTOR.
* @param Origin Coordinates where the item was created at (You cannot compare Origin == NULL_VECTOR or set Origin = NULL_VECTOR, use OriginIsNULL param for it).
* -
* @return Return Plugin_Stop or Plugin_Handled stop granting item. Return Plugin_Continue allow issuance item without changes. Returns Plugin_Changed allow issuance item with changes.
*/
function Action (int iClient, char sClassname[64], CEconItemView &Item, bool &IgnoredCEconItemView, bool &OriginIsNULL, float Origin[3]);
/**
* It gives the player item with the specified CEconItemView.
* @param iClient Index Player.
* @param sClassname Classname item.
* @param Item Customization item.
* @param Origin Coordinates the item will be created at, or NULL_VECTOR.
* -
* @return Return index item.
* -
* @error invalid iClient.
*/
native int PTaH_GivePlayerItem(int iClient, const char[] sClassname, CEconItemView Item = view_as<CEconItemView>(0), const float Origin[3] = NULL_VECTOR);