You should get a crash log of what is happening in case it isn't directly that action, from
Accelerator. However, from my experience, you need to use
RequestFrame or a timer to give healthshots with the best results. Not sure if it remains the same, but it was either crashing or not giving the item. I setup my plugins to use the following -
PHP Code:
RequestFrame(Frame_GiveHealthshot, GetClientSerial(client));
public void Frame_GiveHealthshot(any serial)
{
int client = GetClientFromSerial(serial)
if (client > 0 && IsClientInGame(client) && IsPlayerAlive(client))
{
GivePlayerItem(client, "weapon_healthshot");
}
}