// Global variablenew g_iKillCount[33]public fw_PlayerKilled(iVictim, iKiller) { if (!is_user_alive(iKiller) || iVictim == iKiller) return has_speed[victim] = false remove_task(victim+TASK_SPEED_BOOST) // Increase kill count for killer g_iKillCount[iKiller] ++ // If kill count equal to two if(g_iKillCount[iKiller] == 2) { // Do something } // If kill count equal to four if(g_iKillCount[iKiller] == 4) { // Do something }}