dilalmon, I also tried to hook pre-death event to check player's weapons, but it wasnt worked properly.
GetPlayerWeaponSlot is returning -1 if player is dead, so I have to check player's health right before player dies, and it worked!
Code:
HookEvent("player_hurt", OnPlayerDeath);
...
public OnPlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));
if (GetClientHealth(client) < 1)
{
//blah
}
__________________