You can create a player global variable and store in it the current gametime when the player dies/killed, and update the players kills after one or two seconds passed from the last kill.
PHP Code:
new Float:g_fLastKillTime[33], g_UserComboFrags[33];
// HOOKED via ham sandwich module.
public fwPlayerKilledPost( const vId, const kId, const bool:shouldgib )
{
if(!is_user_connected(kId)) return;
g_fLastKillTime[kId] = get_gametime();
g_UserComboFrags[kId] ++;
set_task(1.25, "UpdatePlayer", kId);
}
public UpdatePlayer(id)
{
if( ( get_gametime() - g_fLastKillTime[id] ) >= 1.0 )
{
// do your stuff...
}
}
__________________